mirror of
https://github.com/supleed2/EIE4-FYP.git
synced 2024-12-22 14:15:50 +00:00
Fix BUILD_DIR
var in demo Makefile
This commit is contained in:
parent
8be509cd90
commit
5bf1833a03
2
build.sh
2
build.sh
|
@ -11,7 +11,7 @@ if [[ $REBUILD =~ ^[Yy]$ ]]; then
|
||||||
cp -r build/gsd_orangecrab/doc/_build/html docs/ && echo "Copied docs to project root"
|
cp -r build/gsd_orangecrab/doc/_build/html docs/ && echo "Copied docs to project root"
|
||||||
else echo "Skipping Rebuild"
|
else echo "Skipping Rebuild"
|
||||||
fi
|
fi
|
||||||
BUILD_DIR=`realpath -eL build/gsd_orangecrab/` WITH_CXX=1 make -C demo && echo "Built demo files"
|
make -C demo && echo "Built demo files"
|
||||||
mv demo/demo.bin kernel.bin && echo "Moved kernel binary to project root"
|
mv demo/demo.bin kernel.bin && echo "Moved kernel binary to project root"
|
||||||
rm -f demo/*.o demo/*.d demo/demo.elf demo/demo.elf.map && echo "Cleaned up build artifacts"
|
rm -f demo/*.o demo/*.d demo/demo.elf demo/demo.elf.map && echo "Cleaned up build artifacts"
|
||||||
read -p "Flash OrangeCrab? [y/N]" -n 1 -r FLASH_OC
|
read -p "Flash OrangeCrab? [y/N]" -n 1 -r FLASH_OC
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
BUILD_DIR?=../build/
|
BUILD_DIR?=../build/gsd_orangecrab/
|
||||||
|
|
||||||
include $(BUILD_DIR)/software/include/generated/variables.mak
|
include $(BUILD_DIR)/software/include/generated/variables.mak
|
||||||
include $(SOC_DIRECTORY)/software/common.mak
|
include $(SOC_DIRECTORY)/software/common.mak
|
||||||
|
|
Loading…
Reference in a new issue