Tools: build_binaries: split configure, clean and build on waf

All 3 together breaks PX4 boards that have to go through the external
CMake build system.

(cherry picked from commit eb61bb86ee)
This commit is contained in:
Lucas De Marchi 2017-05-08 16:42:27 -07:00
parent 1031da9224
commit 175797030f

View File

@ -325,8 +325,9 @@ build_arducopter() {
skip_build $tag $ddir && continue skip_build $tag $ddir && continue
skip_frame $b $f && continue skip_frame $b $f && continue
options=$(board_options $b) options=$(board_options $b)
waf configure --board $b $options --out $BUILDROOT clean \ waf configure --board $b $options --out $BUILDROOT && \
build --targets bin/arducopter$framesuffix || { waf clean && \
waf build --targets bin/arducopter$framesuffix || {
echo "Failed build of ArduCopter $b$framesuffix $tag" echo "Failed build of ArduCopter $b$framesuffix $tag"
error_count=$((error_count+1)) error_count=$((error_count+1))
continue continue