summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2017-12-04 10:39:24 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-12-10 22:45:21 +0000
commitf727f04248868c7e3ae45f261401f10662680a1d (patch)
treefd8bdf9ba9fa0f940790b46f3c3f7846d806fb27 /meta/classes
parentadb9d45f5d5dc418ab85dc659326f3c7350ef446 (diff)
downloadpoky-f727f04248868c7e3ae45f261401f10662680a1d.tar.gz
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] (From OE-Core rev: 44ff06635e7f575e67b7ebba5d6900b8ddbc4a06) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/kernel-yocto.bbclass2
1 files changed, 1 insertions, 1 deletions
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() {
146 if [ -z "$bsp_definition" ]; then 146 if [ -z "$bsp_definition" ]; then
147 echo "$sccs" | grep -q defconfig 147 echo "$sccs" | grep -q defconfig
148 if [ $? -ne 0 ]; then 148 if [ $? -ne 0 ]; then
149 bberror "Could not locate BSP definition for ${KMACHINE}/${LINUX_KERNEL_TYPE} and no defconfig was provided" 149 bbfatal_log "Could not locate BSP definition for ${KMACHINE}/${LINUX_KERNEL_TYPE} and no defconfig was provided"
150 fi 150 fi
151 fi 151 fi
152 meta_dir=$(kgit --meta) 152 meta_dir=$(kgit --meta)