From f473490f560cd2a7e8db5ada29b7508d743f72e4 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Thu, 13 Jul 2017 15:35:24 +0200 Subject: [PATCH] Put kernel builing under EXPERT switch to build WIP only when expert is enabled --- build-all.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build-all.sh b/build-all.sh index 394dac8a5e..c1861e3815 100644 --- a/build-all.sh +++ b/build-all.sh @@ -159,7 +159,9 @@ create_images_list() create_kernels_list() { - for board in $SRC/lib/config/boards/*.{conf,wip}; do + local naming="$SRC/lib/config/boards/*.conf"; + if [[ "$EXPERT" == "yes" ]]; then naming=$naming" $SRC/lib/config/boards/*.wip"; fi + for board in $naming; do BOARD=$(basename $board | cut -d'.' -f1) local file="${SRC}/lib/config/boards/${BOARD}" if [[ -f $file".conf" ]]; then source $file".conf"; fi