]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
kernel-yocto.bbclass: say what SRC_URI entry is being dropped
authorRoss Burton <ross.burton@arm.com>
Fri, 13 May 2022 18:42:01 +0000 (19:42 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 15 May 2022 07:57:09 +0000 (08:57 +0100)
If there is a defconfig set by KBUILD_DEFCONFIG and something that looks
like a defconfig in SRC_URI, the SRC_URI is dropped. This happens even
if the entry in SRC_URI is called my_defconfig_frag.cfg.

Arguably, this is a bug and the behaviour should be changed, but for now
if we're going to remove entries from SRC_URI we should make it clear
what entry is being removed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-yocto.bbclass

index fb30c7cc055e6c65b22ce6e9c6eeeb22d754287c..b276ded7751cad5934e91edcefd554b6e090cd98 100644 (file)
@@ -192,7 +192,7 @@ do_kernel_metadata() {
        if [ -n "$in_tree_defconfig" ]; then
                sccs_defconfig=$in_tree_defconfig
                if [ -n "$src_uri_defconfig" ]; then
-                       bbwarn "[NOTE]: defconfig was supplied both via KBUILD_DEFCONFIG and SRC_URI. Dropping SRC_URI defconfig"
+                       bbwarn "[NOTE]: defconfig was supplied both via KBUILD_DEFCONFIG and SRC_URI. Dropping SRC_URI entry $src_uri_defconfig"
                fi
        else
                # if we didn't have an in-tree one, make our defconfig the one