diff options
| author | Ross Burton <ross.burton@arm.com> | 2022-05-13 19:42:01 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-05-15 08:57:15 +0100 |
| commit | 2d03dd4b329108825e10bd5c12f2312fd507ace4 (patch) | |
| tree | b4bc749e6e9c98104f7a79030c1ec65740083e9a | |
| parent | 8252367023b31d923c6031280843cdd35050df56 (diff) | |
| download | poky-2d03dd4b329108825e10bd5c12f2312fd507ace4.tar.gz | |
kernel-yocto.bbclass: say what SRC_URI entry is being dropped
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.
(From OE-Core rev: c807876507fa0257be9abc15457b312e01368c17)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -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 fb30c7cc05..b276ded775 100644 --- a/meta/classes/kernel-yocto.bbclass +++ b/meta/classes/kernel-yocto.bbclass | |||
| @@ -192,7 +192,7 @@ do_kernel_metadata() { | |||
| 192 | if [ -n "$in_tree_defconfig" ]; then | 192 | if [ -n "$in_tree_defconfig" ]; then |
| 193 | sccs_defconfig=$in_tree_defconfig | 193 | sccs_defconfig=$in_tree_defconfig |
| 194 | if [ -n "$src_uri_defconfig" ]; then | 194 | if [ -n "$src_uri_defconfig" ]; then |
| 195 | bbwarn "[NOTE]: defconfig was supplied both via KBUILD_DEFCONFIG and SRC_URI. Dropping SRC_URI defconfig" | 195 | bbwarn "[NOTE]: defconfig was supplied both via KBUILD_DEFCONFIG and SRC_URI. Dropping SRC_URI entry $src_uri_defconfig" |
| 196 | fi | 196 | fi |
| 197 | else | 197 | else |
| 198 | # if we didn't have an in-tree one, make our defconfig the one | 198 | # if we didn't have an in-tree one, make our defconfig the one |
