Skip to content

Commit

Permalink
Tools: Carbonix build script name change and remove dist clean
Browse files Browse the repository at this point in the history
Carbonix_board_build.sh name changed to build_no_clean.sh for clarity of the purpose of file.

Also Removed the bootloader and board config as that triggers sub module compile which is not deterministic and causes a difference in build.
 
SW-46
  • Loading branch information
loki077 committed Jan 17, 2024
1 parent f3e0fed commit a4e9767
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

# This file is mainly used by workflows/cx_build_compare.yml to build the firmware for a specific board without bootloader and clean.

# Exit immediately if a command exits with a non-zero status
set -e

Expand All @@ -9,13 +11,9 @@ BOARD=$1
if [ "$BOARD" == "CubeOrange" ] || [ "$BOARD" == "CarbonixCubeOrange" ] || [ "$BOARD" == "sitl" ]
then
echo "Compiling Plane for $BOARD..."
./Tools/scripts/build_bootloaders.py "$BOARD"
./waf configure --board "$BOARD"
./waf plane
else
echo "Compiling AP_Periph for $BOARD..."
./Tools/scripts/build_bootloaders.py "$BOARD"
./waf configure --board "$BOARD"
./waf AP_Periph
fi

Expand Down

0 comments on commit a4e9767

Please sign in to comment.