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.
This commit is contained in:
Lucas De Marchi 2017-05-08 16:42:27 -07:00
parent d04dab3a30
commit eb61bb86ee
1 changed files with 3 additions and 2 deletions

View File

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