From: Saul Wold Date: Mon, 4 Dec 2017 15:39:24 +0000 (-0500) Subject: kernel-yocto: Stop the build if defconfig is missing X-Git-Tag: uninative-1.8~927 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=44ff06635e7f575e67b7ebba5d6900b8ddbc4a06;p=openembedded-core.git kernel-yocto: Stop the build if defconfig is missing The bberror does not stop the build correctly, this should be a bbfatal_log to ensure the failure correctly stops the build and logs the failure. Part of [YOCTO #12162] Signed-off-by: Saul Wold Signed-off-by: Bruce Ashfield Signed-off-by: Richard Purdie --- diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass index 98ec78fb76..2edf0fd157 100644 --- a/meta/classes/kernel-yocto.bbclass +++ b/meta/classes/kernel-yocto.bbclass @@ -146,7 +146,7 @@ do_kernel_metadata() { if [ -z "$bsp_definition" ]; then echo "$sccs" | grep -q defconfig if [ $? -ne 0 ]; then - bberror "Could not locate BSP definition for ${KMACHINE}/${LINUX_KERNEL_TYPE} and no defconfig was provided" + bbfatal_log "Could not locate BSP definition for ${KMACHINE}/${LINUX_KERNEL_TYPE} and no defconfig was provided" fi fi meta_dir=$(kgit --meta)