mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
adb9d45f5d
commit
f727f04248
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user