diff options
author | Saul Wold <sgw@linux.intel.com> | 2017-12-04 10:39:24 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-06 10:13:56 +0000 |
commit | ec834113ecb8214f698ace7b913f9f7b844d2b74 (patch) | |
tree | aaf88c24e44f3c810c69c275169649c9eaf47721 /meta/classes | |
parent | a74725bc8d2664b8c3629022623d9ebbbfb9c43a (diff) | |
download | poky-ec834113ecb8214f698ace7b913f9f7b844d2b74.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: 57791aa2700c39549cd0e542d7fdbb89c6185e22)
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>
(cherry picked from commit 44ff06635e7f575e67b7ebba5d6900b8ddbc4a06)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/kernel-yocto.bbclass | 2 |
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) |