Hello,
I hope this email finds you well.
On 1/7/26 16:14, João Marcos Costa wrote:
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 <[email protected]>
---
meta/recipes-kernel/linux/linux-yocto-dev.bb | 1 +
.../linux/linux-yocto-features.inc | 15 +++++++++++++++
meta/recipes-kernel/linux/linux-yocto-rt_6.12.bb | 1 +
meta/recipes-kernel/linux/linux-yocto-rt_6.16.bb | 1 +
meta/recipes-kernel/linux/linux-yocto-rt_6.18.bb | 1 +
.../linux/linux-yocto-tiny_6.12.bb | 1 +
.../linux/linux-yocto-tiny_6.16.bb | 1 +
.../linux/linux-yocto-tiny_6.18.bb | 1 +
meta/recipes-kernel/linux/linux-yocto.inc | 16 ----------------
meta/recipes-kernel/linux/linux-yocto_6.12.bb | 1 +
meta/recipes-kernel/linux/linux-yocto_6.16.bb | 1 +
meta/recipes-kernel/linux/linux-yocto_6.18.bb | 1 +
12 files changed, 25 insertions(+), 16 deletions(-)
create mode 100644 meta/recipes-kernel/linux/linux-yocto-features.inc
(...)
I just saw that the previous patch (same fix, but in u-boot) made its
way into oe-core/master, but this linux-yocto patch here didn't.
Would you have any feedbacks about it? Something to be
reworked/rephrased, otherwise I'd say this patch is needed just as much
as the u-boot one.
Also, my original intent was to provide a fix a problem I faced in
Whinlatter, so backporting those patches should be needed as well. I
will work on it, of course, but I'd like first to make sure the
linux-yocto patch is not left outside.
Thanks!
--
Best regards,
João Marcos Costa
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#230868):
https://lists.openembedded.org/g/openembedded-core/message/230868
Mute This Topic: https://lists.openembedded.org/mt/117135532/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-