Tools: build_ci: remove useless check for waf support

This commit is contained in:
Pierre Kancir 2020-02-06 20:16:01 +01:00 committed by Peter Barker
parent 387b5e7002
commit 097cffaa06
1 changed files with 1 additions and 6 deletions

View File

@ -24,13 +24,8 @@ if [ -z "$CI_BUILD_TARGET" ]; then
CI_BUILD_TARGET="sitl linux fmuv3"
fi
declare -A waf_supported_boards
waf=modules/waf/waf-light
# get list of boards supported by the waf build
for board in $($waf list_boards | head -n1); do waf_supported_boards[$board]=1; done
echo "Targets: $CI_BUILD_TARGET"
echo "Compiler: $c_compiler"
@ -187,7 +182,7 @@ for t in $CI_BUILD_TARGET; do
continue
fi
if [[ -n ${waf_supported_boards[$t]} && -z ${CI_CRON_JOB+1} ]]; then
if [[ -z ${CI_CRON_JOB+1} ]]; then
echo "Starting waf build for board ${t}..."
$waf configure --board "$t" \
--enable-benchmarks \