Small changes in build script
- make clean instead of distclean - make menuconfig default for now as we only build one image anyway
This commit is contained in:
parent
5a0f875f47
commit
3c6208c611
|
@ -6,11 +6,11 @@ mkdir -p logs
|
||||||
|
|
||||||
all_platforms=(rpi3)
|
all_platforms=(rpi3)
|
||||||
for platform in "${all_platforms[@]}"; do
|
for platform in "${all_platforms[@]}"; do
|
||||||
make -C buildroot BR2_EXTERNAL=../buildroot-external distclean
|
make -C buildroot BR2_EXTERNAL=../buildroot-external clean
|
||||||
make -C buildroot BR2_EXTERNAL=../buildroot-external mycroftos_${platform}_defconfig
|
make -C buildroot BR2_EXTERNAL=../buildroot-external mycroftos_${platform}_defconfig
|
||||||
|
|
||||||
# Optional if you need to change stuff, uncomment the next line.
|
# Optional if you need to change stuff, uncomment the next line.
|
||||||
# make -C buildroot BR2_EXTERNAL=../buildroot-external menuconfig
|
make -C buildroot BR2_EXTERNAL=../buildroot-external menuconfig
|
||||||
|
|
||||||
make -C buildroot BR2_EXTERNAL=../buildroot-external 2>&1 | tee logs/buildroot_output.txt
|
make -C buildroot BR2_EXTERNAL=../buildroot-external 2>&1 | tee logs/buildroot_output.txt
|
||||||
cp -f buildroot/output/images/sdcard.img release/MycroftOS_${platform}.img
|
cp -f buildroot/output/images/sdcard.img release/MycroftOS_${platform}.img
|
||||||
|
|
Loading…
Reference in New Issue