Put kernel builing under EXPERT switch to build WIP only when expert is enabled

This commit is contained in:
Igor Pecovnik 2017-07-13 15:35:24 +02:00
parent 887909909f
commit f473490f56

View File

@ -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