Skip to content

Commit

Permalink
whyyyyy does bootloader sometimes not build
Browse files Browse the repository at this point in the history
  • Loading branch information
mck1117 committed Jan 11, 2025
1 parent 345c5ee commit 8de26bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions firmware/config/boards/common_make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,12 @@ make -j6 -r PROJECT_BOARD=$PROJECT_BOARD PROJECT_CPU=$PROJECT_CPU BOARD_DIR=$BOA
if [ "${USE_OPENBLT-no}" = "yes" ]; then
# TODO: why is this rm necessary?
rm -f pch/pch.h.gch/*
ls -l
cat engine_modules_generated.h
echo "Calling make for the bootloader..."
cd bootloader; make -j6 PROJECT_BOARD=$PROJECT_BOARD PROJECT_CPU=$PROJECT_CPU BOARD_DIR=$BOARD_DIR; cd ..
ls -l
cat engine_modules_generated.h
[ -e bootloader/blbuild/fome_bl.hex ] || { echo "FAILED to compile OpenBLT by $SCRIPT_NAME with $PROJECT_BOARD"; exit 1; }
fi

Expand Down

0 comments on commit 8de26bf

Please sign in to comment.