]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
kernel-yocto: fix kernel-meta data detection
authorUlrich Ölmann <u.oelmann@pengutronix.de>
Tue, 14 Feb 2023 10:26:46 +0000 (11:26 +0100)
committerSteve Sakoman <steve@sakoman.com>
Sat, 25 Feb 2023 19:25:51 +0000 (09:25 -1000)
Fixes: 7ef7af5c03ba ("kernel-yocto: restore kernel-meta data detection for SRC_URI elements")
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c77754f23e3fb49a62602a6c6a04d5525d1cf457)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes-recipe/kernel-yocto.bbclass

index 1a6695ba7e353c4ea4729cdc5834a11fc26ce4d1..7de99cff5642343318234c88b965e45f12a724b8 100644 (file)
@@ -212,7 +212,7 @@ do_kernel_metadata() {
        # SRC_URI. If they were supplied, we convert them into include directives
        # for the update part of the process
        for f in ${feat_dirs}; do
-               if [ -d "${WORKDIR}/$f/meta" ]; then
+               if [ -d "${WORKDIR}/$f/kernel-meta" ]; then
                        includes="$includes -I${WORKDIR}/$f/kernel-meta"
                elif [ -d "${WORKDIR}/../oe-local-files/$f" ]; then
                        includes="$includes -I${WORKDIR}/../oe-local-files/$f"