From: Bruce Ashfield Date: Thu, 24 Sep 2020 19:31:14 +0000 (-0400) Subject: kernel-yocto: add KBUILD_DEFCONFIG search location to failure message X-Git-Tag: 2020-10-gatesgarth~157 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=1d4d80be41d273abd1fb6416976603d924457973;p=openembedded-core.git kernel-yocto: add KBUILD_DEFCONFIG search location to failure message 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 Signed-off-by: Richard Purdie --- diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass index a35c5923df..35587dd564 100644 --- a/meta/classes/kernel-yocto.bbclass +++ b/meta/classes/kernel-yocto.bbclass @@ -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