]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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)
committerSteve Sakoman <steve@sakoman.com>
Wed, 30 Sep 2020 14:35:15 +0000 (04:35 -1000)
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>
(cherry picked from commit 1d4d80be41d273abd1fb6416976603d924457973)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/kernel-yocto.bbclass

index cc8bcb909a6301480ec6fc8ba29f72323efe95e5..ec5fb7b1de1790d1e50978ac38a2c58d87036053 100644 (file)
@@ -148,7 +148,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