]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel-yocto: add KBUILD_DEFCONFIG search location to failure message
authorBruce Ashfield <bruce.ashfield@gmail.com>
Thu, 24 Sep 2020 19:31:14 +0000 (15:31 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 25 Sep 2020 09:54:25 +0000 (10:54 +0100)
It was pointed out that since the check for the existence of
KBUILD_DEFCONFIG knows where it is looking, that should be part of
the error/log message.

We only look in one location for the defconfigs, so add where we
checked to the message.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-yocto.bbclass

index a35c5923df25e1e6e330275b0c7ea53b5118329f..35587dd56495e5bae9070e9744f75fd768c40c39 100644 (file)
@@ -155,7 +155,7 @@ do_kernel_metadata() {
                        fi
                        in_tree_defconfig="${WORKDIR}/defconfig"
                else
-                       bbfatal "A KBUILD_DEFCONFIG '${KBUILD_DEFCONFIG}' was specified, but not present in the source tree"
+                       bbfatal "A KBUILD_DEFCONFIG '${KBUILD_DEFCONFIG}' was specified, but not present in the source tree (${S}/arch/${ARCH}/configs/)"
                fi
        fi