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

Paul Barker pbarker at konsulko.com
Wed Jan 15 18:08:25 UTC 2020


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(-)

-- 
2.20.1



More information about the Openembedded-core mailing list