diff options
author | Jon Mason <jdmason@kudzu.us> | 2022-10-02 20:49:59 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-10-25 13:42:03 +0100 |
commit | e1053b622c0f7a0c2849906ded93e9c2e9bbcf74 (patch) | |
tree | eab774bc4597d56debbadd8567eb25559976f725 /meta | |
parent | 5052a071e5b13e6c33dfa2c4618a0e3e947c2e42 (diff) | |
download | poky-e1053b622c0f7a0c2849906ded93e9c2e9bbcf74.tar.gz |
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 <jdmason@kudzu.us>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto.inc | 1 |
1 files changed, 1 insertions, 0 deletions
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}" | |||
33 | 33 | ||
34 | KERNEL_FEATURES:append:qemuall=" features/debug/printk.scc" | 34 | KERNEL_FEATURES:append:qemuall=" features/debug/printk.scc" |
35 | 35 | ||
36 | KERNEL_FEATURES:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'efi', 'cfg/efi.scc', '', d)}" | ||
36 | KERNEL_FEATURES:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'numa', 'features/numa/numa.scc', '', d)}" | 37 | KERNEL_FEATURES:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'numa', 'features/numa/numa.scc', '', d)}" |
37 | KERNEL_FEATURES:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'vfat', 'cfg/fs/vfat.scc', '', d)}" | 38 | KERNEL_FEATURES:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'vfat', 'cfg/fs/vfat.scc', '', d)}" |
38 | 39 | ||