aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp/gnu-efi/gnu-efi_3.0u.bb
diff options
context:
space:
mode:
authorBrendan Le Foll <brendan.le.foll@intel.com>2015-04-14 14:52:51 +0100
committerBrendan Le Foll <brendan.le.foll@intel.com>2015-04-14 14:52:51 +0100
commit49291f6369c8eb03b74409a8b1392949edf431ca (patch)
treeb6f2d86adfb1442278d9d1a019ddb2141d62dec7 /recipes-bsp/gnu-efi/gnu-efi_3.0u.bb
parent101a920a893a5dcff662d544df8fbd4678112e5a (diff)
downloadmeta-intel-quark-49291f6369c8eb03b74409a8b1392949edf431ca.tar.gz
meta-intel-quark-49291f6369c8eb03b74409a8b1392949edf431ca.tar.bz2
meta-intel-quark-49291f6369c8eb03b74409a8b1392949edf431ca.zip
gnu-efi: add version 3.0.0u to quark BSP since grub 0.97 + patch requires it
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Diffstat (limited to 'recipes-bsp/gnu-efi/gnu-efi_3.0u.bb')
-rw-r--r--recipes-bsp/gnu-efi/gnu-efi_3.0u.bb33
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes-bsp/gnu-efi/gnu-efi_3.0u.bb b/recipes-bsp/gnu-efi/gnu-efi_3.0u.bb
new file mode 100644
index 0000000..dbf2a07
--- /dev/null
+++ b/recipes-bsp/gnu-efi/gnu-efi_3.0u.bb
@@ -0,0 +1,33 @@
+SUMMARY = "Libraries for producing EFI binaries"
+HOMEPAGE = "http://sourceforge.net/projects/gnu-efi/"
+SECTION = "devel"
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://debian/copyright;md5=5fb358a180f484b285b0d99acdc29666"
+
+SRC_URI = "http://downloads.sourceforge.net/gnu-efi/gnu-efi_3.0u.orig.tar.gz \
+ file://parallel-make.patch \
+ file://parallel-make-archives.patch \
+ "
+SRC_URI[md5sum] = "d15d3c700e79a1e2938544d73edc572d"
+SRC_URI[sha256sum] = "3c0d450d5829204ca05dcb3b2aae772e52c379b7c7e09146759c6315606f934e"
+
+COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux"
+
+S = "${WORKDIR}/gnu-efi-3.0"
+
+def gnu_efi_arch(d):
+ import re
+ tarch = d.getVar("TARGET_ARCH", True)
+ if re.match("i[3456789]86", tarch):
+ return "ia32"
+ return tarch
+
+EXTRA_OEMAKE = "'ARCH=${@gnu_efi_arch(d)}' 'CC=${CC}' 'AS=${AS}' 'LD=${LD}' 'AR=${AR}' \
+ 'RANLIB=${RANLIB}' 'OBJCOPY=${OBJCOPY}' 'PREFIX=${prefix}' 'LIBDIR=${libdir}' \
+ "
+
+do_install() {
+ oe_runmake install INSTALLROOT="${D}"
+}
+
+FILES_${PN} += "${libdir}/*.lds"