Improve build scripts

This commit is contained in:
Raphael Coeffic
2022-04-01 08:56:25 +02:00
parent baa4f65d9b
commit e2e4b93403
2 changed files with 99 additions and 95 deletions
+2 -2
View File
@@ -147,8 +147,8 @@ do
esac
cmake ${BUILD_OPTIONS} "${SRCDIR}"
make arm-none-eabi-configure
make -C arm-none-eabi -j"${CORES}" ${FIRMARE_TARGET}
cmake --build . --target arm-none-eabi-configure
cmake --build arm-none-eabi -j"${CORES}" --target ${FIRMARE_TARGET}
rm -f CMakeCache.txt
mv arm-none-eabi/firmware.bin "../${fw_name}"