[poky] [RFC PATCH 1/4] linux-yocto_3.10.bbappend: EFI kernel config for easier building
Stefan Stanacar
stefanx.stanacar at intel.com
Sun Mar 9 11:49:16 PDT 2014
This is just to simplify building (gummiboot requires this options,
they should be probably be added to the default efi config fragment)
Signed-off-by: Stefan Stanacar <stefanx.stanacar at intel.com>
---
meta-yocto-bsp/recipes-kernel/linux/files/efioptions.cfg | 4 ++++
meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.10.bbappend | 5 +++++
2 files changed, 9 insertions(+)
create mode 100644 meta-yocto-bsp/recipes-kernel/linux/files/efioptions.cfg
diff --git a/meta-yocto-bsp/recipes-kernel/linux/files/efioptions.cfg b/meta-yocto-bsp/recipes-kernel/linux/files/efioptions.cfg
new file mode 100644
index 0000000..bea1993
--- /dev/null
+++ b/meta-yocto-bsp/recipes-kernel/linux/files/efioptions.cfg
@@ -0,0 +1,4 @@
+CONFIG_EFI_STUB=y
+CONFIG_PARTITION_ADVANCED=y
+CONFIG_EFI_PARTITION=y
+CONFIG_EFIVAR_FS=y
diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.10.bbappend b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.10.bbappend
index 56f566d..d479d7c 100644
--- a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.10.bbappend
+++ b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.10.bbappend
@@ -1,3 +1,5 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+
KBRANCH_genericx86 = "standard/common-pc/base"
KBRANCH_genericx86-64 = "standard/common-pc-64/base"
KBRANCH_routerstationpro = "standard/routerstationpro"
@@ -21,3 +23,6 @@ COMPATIBLE_MACHINE_beagleboard = "beagleboard"
# routerstationpro has a flash size of 16mb
KERNEL_IMAGE_MAXSIZE_routerstationpro = "16777216"
+
+SRC_URI_append_genericx86-64 = " file://efioptions.cfg"
+SRC_URI_append_genericx86 = " file://efioptions.cfg"
--
1.8.5.3
More information about the poky
mailing list