Bug 15751

Summary: KERNEL_EXTRA_FEATURES in not properly documented
Product: [Build System, Metadata & Runtime] OE-Core Reporter: kweihmann
Component: coreAssignee: Alper Ak <alperyasinak1>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: Medium CC: alperyasinak1, antonin.godard, bruce.ashfield, meta.mr.watcher, meta.watcher, randy.macleod, richard.purdie
Version: unspecified   
Target Milestone: 5.99   
Hardware: x86   
OS: Multiple   
Whiteboard: NEWCOMER
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description kweihmann 2025-02-16 10:14:34 UTC
KERNEL_EXTRA_FEATURES used by kernel code is lacking
a default value and is only implicitly documented

> bitbake-getvar KERNEL_EXTRA_FEATURES

returns

> KERNEL_EXTRA_FEATURES=" features/debug/debug-kernel.scc"

but only if a poky based distro is used.
For e.g. pure code "nodistro"

> The variable 'KERNEL_EXTRA_FEATURES' is not defined

All of linux-yocto recipes use that variable, but no further information
about it is given.

As those values are folded into KERNEL_FEATURES an option might be to
just completely get rid of this variable
Comment 1 Alper Ak 2025-05-31 15:51:45 UTC
Patch sent -> https://lists.yoctoproject.org/g/docs/message/6951
Comment 2 Antonin Godard 2025-06-06 08:19:38 UTC
After the discussion on https://lists.yoctoproject.org/g/docs/topic/patch/113397877, we all agreed that this variable is not worth documenting as it serves no value over the already existing and documented KERNEL_FEATURES variable.