]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
linux-yocto: relocate KERNEL_FEATURES_RISCV master-next
authorJoão Marcos Costa <joaomarcos.costa@bootlin.com>
Wed, 7 Jan 2026 15:14:36 +0000 (16:14 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Jan 2026 16:50:56 +0000 (16:50 +0000)
commit522b1ec3cb5af9e6c60b1bdebb732e57b5f04951
tree9c9ef3455a507d5f08d631f8b6a80bbde70efb96
parente07cf74374f0462d2ba2bd78e83a19b6a90f2cc3
linux-yocto: relocate KERNEL_FEATURES_RISCV

In a custom linux recipe that requires linux-yocto.inc, the metadata
files (*.scc) end up in KERNEL_FEATURES. However, the custom recipe's
FILESPATH does not contain the path to oe-core's linux-yocto directory
(as expected), which leads to the error below:

ERROR: linux-custom-6.12.15+git-r0 do_kernel_metadata:
Feature 'arch/riscv/tunes/riscv-isa-clear.scc' not found, this will cause configuration failures.
ERROR: linux-custom-6.12.15+git-r0 do_kernel_metadata:
Check the SRC_URI for meta-data repositories or directories that may be missing

Move KERNEL_FEATURES_RISCV - along with the appends - to a new file:
linux-yocto-features.inc.

Signed-off-by: João Marcos Costa <joaomarcos.costa@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 files changed:
meta/recipes-kernel/linux/linux-yocto-dev.bb
meta/recipes-kernel/linux/linux-yocto-features.inc [new file with mode: 0644]
meta/recipes-kernel/linux/linux-yocto-rt_6.12.bb
meta/recipes-kernel/linux/linux-yocto-rt_6.16.bb
meta/recipes-kernel/linux/linux-yocto-rt_6.18.bb
meta/recipes-kernel/linux/linux-yocto-tiny_6.12.bb
meta/recipes-kernel/linux/linux-yocto-tiny_6.16.bb
meta/recipes-kernel/linux/linux-yocto-tiny_6.18.bb
meta/recipes-kernel/linux/linux-yocto.inc
meta/recipes-kernel/linux/linux-yocto_6.12.bb
meta/recipes-kernel/linux/linux-yocto_6.16.bb
meta/recipes-kernel/linux/linux-yocto_6.18.bb