A number of bsps (intel-common, fri2, minnow) include the efi config.
Some boot loaders (such as gummiboot, recently added to OE-core)
require the kernel to be built with CONFIG_EFI_STUB.
I think it would be useful to have that enabled by default instead
of having to build your kernel with efi-ext added to KERNEL_FEATURES.

Signed-off-by: Stefan Stanacar <stefanx.stana...@intel.com>
---
 meta/cfg/kernel-cache/cfg/efi-ext.cfg | 1 -
 meta/cfg/kernel-cache/cfg/efi.cfg     | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/cfg/kernel-cache/cfg/efi-ext.cfg 
b/meta/cfg/kernel-cache/cfg/efi-ext.cfg
index 4788ce7..6371da2 100644
--- a/meta/cfg/kernel-cache/cfg/efi-ext.cfg
+++ b/meta/cfg/kernel-cache/cfg/efi-ext.cfg
@@ -12,4 +12,3 @@ CONFIG_FRAMEBUFFER_CONSOLE=y
 CONFIG_FB_EFI=y
 CONFIG_EFI_VARS=y
 CONFIG_EFI_PARTITION=y
-CONFIG_EFI_STUB=y
diff --git a/meta/cfg/kernel-cache/cfg/efi.cfg 
b/meta/cfg/kernel-cache/cfg/efi.cfg
index 7f1a062..e2ecc18 100644
--- a/meta/cfg/kernel-cache/cfg/efi.cfg
+++ b/meta/cfg/kernel-cache/cfg/efi.cfg
@@ -6,3 +6,4 @@ CONFIG_ACPI=y
 
 # Enable basic EFI support
 CONFIG_EFI=y
+CONFIG_EFI_STUB=y
-- 
1.8.5.3

-- 
_______________________________________________
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to