From ed42002c398d00d4f3753fbeec861f1c4db9fc24 Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 19 Aug 2021 23:30:17 +1000 Subject: [PATCH] tools/autobuild: Don't use "-B" for make, it's already a fresh build. And using "-B" means mpy-cross is forcefully rebuilt, sometimes with invalid CFLAGS_EXTRA options which makes the auto-build fail. Signed-off-by: Damien George --- tools/autobuild/build-cc3200-latest.sh | 2 +- tools/autobuild/build-stm32-latest.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/autobuild/build-cc3200-latest.sh b/tools/autobuild/build-cc3200-latest.sh index 3c6d400365..0cbdb9c428 100755 --- a/tools/autobuild/build-cc3200-latest.sh +++ b/tools/autobuild/build-cc3200-latest.sh @@ -8,7 +8,7 @@ function do_build() { shift echo "building $descr $board" build_dir=/tmp/cc3200-build-$board - $MICROPY_AUTOBUILD_MAKE -B $@ BTARGET=application BOARD=$board BUILD=$build_dir || exit 1 + $MICROPY_AUTOBUILD_MAKE $@ BTARGET=application BOARD=$board BUILD=$build_dir || exit 1 zip $dest_dir/$descr$fw_tag.zip $build_dir/mcuimg.bin rm -rf $build_dir } diff --git a/tools/autobuild/build-stm32-latest.sh b/tools/autobuild/build-stm32-latest.sh index 226c14a41e..283c8a45b8 100755 --- a/tools/autobuild/build-stm32-latest.sh +++ b/tools/autobuild/build-stm32-latest.sh @@ -8,7 +8,7 @@ function do_build() { shift echo "building $descr $board" build_dir=/tmp/stm-build-$board - $MICROPY_AUTOBUILD_MAKE -B $@ BOARD=$board BUILD=$build_dir || exit 1 + $MICROPY_AUTOBUILD_MAKE $@ BOARD=$board BUILD=$build_dir || exit 1 mv $build_dir/firmware.dfu $dest_dir/$descr$fw_tag.dfu rm -rf $build_dir }