Skip to content

Make kernel-yocto bbclass usable without linux-yocto.inc

Paul Barker openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3kernel-yocto: Move defaults and tasks from linux-yocto.inc into bbclassmeta/classes/kernel-yocto.bbclass meta/recipes-kernel/linux/linux-yocto.inc+21 -210 replies
2/3kernel-yocto: Drop setting of unused variables in do_kernel_metadatameta/classes/kernel-yocto.bbclass+0 -70 replies
3/3kernel-yocto: Only override CONFIG_LOCALVERSION if LINUX_VERSION_EXTENSION is setmeta/classes/kernel-yocto.bbclass+4 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Make kernel-yocto bbclass usable without linux-yocto.inc

Patch 1 allows the kernel-yocto bbclass to be inherited directly in a recipe without needing to use linux-yocto.inc. I can then use kconfig fragments in my kernel recipe without pulling in the whole of linux-yocto.inc (which includes some things I don't want like KERNEL_FEATURES changes and the LINUX_VERSION_EXTENSION default).

Patches 2 & 3 fix some minor issues I spotted while working on this.

I've tested that linux-yocto can still be built for qemux86 after these changes.

Paul Barker (3):
kernel-yocto: Move defaults and tasks from linux-yocto.inc into
bbclass
kernel-yocto: Drop setting of unused variables in do_kernel_metadata
kernel-yocto: Only override CONFIG_LOCALVERSION if
LINUX_VERSION_EXTENSION is set

 meta/classes/kernel-yocto.bbclass         | 34 +++++++++++++++++------
 meta/recipes-kernel/linux/linux-yocto.inc | 21 --------------
 2 files changed, 25 insertions(+), 30 deletions(-)
Signature · 1 line
2.20.1