From e1053b622c0f7a0c2849906ded93e9c2e9bbcf74 Mon Sep 17 00:00:00 2001 From: Jon Mason Date: Sun, 2 Oct 2022 20:49:59 -0400 Subject: linux-yocto: add efi entry for machine features EFI has kernel features when need to be enabled for it to boot. Add the existing kernel config fragment to the kernel config if this machine feature is enabled. (From OE-Core rev: 439f23eed94438494569f286b52e4f6c70ebac2f) Signed-off-by: Jon Mason Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-kernel/linux/linux-yocto.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-kernel/linux/linux-yocto.inc b/meta/recipes-kernel/linux/linux-yocto.inc index 7ea661e138..091003ed82 100644 --- a/meta/recipes-kernel/linux/linux-yocto.inc +++ b/meta/recipes-kernel/linux/linux-yocto.inc @@ -33,6 +33,7 @@ KERNEL_LD:append:arc = " ${TOOLCHAIN_OPTIONS}" KERNEL_FEATURES:append:qemuall=" features/debug/printk.scc" +KERNEL_FEATURES:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'efi', 'cfg/efi.scc', '', d)}" KERNEL_FEATURES:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'numa', 'features/numa/numa.scc', '', d)}" KERNEL_FEATURES:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'vfat', 'cfg/fs/vfat.scc', '', d)}" -- cgit v1.2.3-54-g00ecf