diff options
author | Darren Hart <dvhart@linux.intel.com> | 2012-03-20 17:31:26 -0700 |
---|---|---|
committer | Darren Hart <dvhart@linux.intel.com> | 2012-03-23 08:12:30 -0700 |
commit | b508457fbf3674cd573f00d972aca55048c015cf (patch) | |
tree | 8e6f4b982a396ed1ab60e613b7f53d17c280b877 /common/recipes-bsp/gnu-efi/gnu-efi_3.0m.bb | |
parent | 2cd93a046edf78537297ecfe8c1ef10520734e89 (diff) | |
download | meta-intel-b508457fbf3674cd573f00d972aca55048c015cf.tar.gz |
efilinux: Add efilinux 1.0 and gnu-efi
efilinux is a UEFI OS loader. It was created as a reference implementation with
the aim of being well documented and containing well written source code.
efilinux is lightweight and convenient as a tool to debug misbehaving UEFI
systems.
Thanks to Paul Eggleton for is initial set of recipes from which these were
based.
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Paul Eggleton <paul.eggleton@linux.intel.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
CC: Kishore K Bodke <kishore.k.bodke@intel.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'common/recipes-bsp/gnu-efi/gnu-efi_3.0m.bb')
-rw-r--r-- | common/recipes-bsp/gnu-efi/gnu-efi_3.0m.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/common/recipes-bsp/gnu-efi/gnu-efi_3.0m.bb b/common/recipes-bsp/gnu-efi/gnu-efi_3.0m.bb new file mode 100644 index 00000000..252d49a1 --- /dev/null +++ b/common/recipes-bsp/gnu-efi/gnu-efi_3.0m.bb | |||
@@ -0,0 +1,34 @@ | |||
1 | SUMMARY = "Libraries for producing EFI binaries" | ||
2 | HOMEPAGE = "http://sourceforge.net/projects/gnu-efi/" | ||
3 | SECTION = "devel" | ||
4 | LICENSE = "GPLv2+" | ||
5 | LIC_FILES_CHKSUM = "file://debian/copyright;md5=5fb358a180f484b285b0d99acdc29666" | ||
6 | |||
7 | PR = "r2" | ||
8 | |||
9 | SRCREV = "74" | ||
10 | |||
11 | SRC_URI = "http://downloads.sourceforge.net/gnu-efi/gnu-efi_3.0m.orig.tar.gz \ | ||
12 | file://cross-compile-support.patch \ | ||
13 | file://parallel-make.patch \ | ||
14 | " | ||
15 | SRC_URI[md5sum] = "d0a21125aee56c0c7291ad260e916cb3" | ||
16 | |||
17 | S = "${WORKDIR}/gnu-efi-3.0" | ||
18 | |||
19 | def gnu_efi_arch(d): | ||
20 | import re | ||
21 | tarch = d.getVar("TARGET_ARCH", True) | ||
22 | if re.match("i[3456789]86", tarch): | ||
23 | return "ia32" | ||
24 | return tarch | ||
25 | |||
26 | EXTRA_OEMAKE = "'ARCH=${@gnu_efi_arch(d)}' 'CC=${CC}' 'AS=${AS}' 'LD=${LD}' 'AR=${AR}' \ | ||
27 | 'RANLIB=${RANLIB}' 'OBJCOPY=${OBJCOPY}' \ | ||
28 | " | ||
29 | |||
30 | do_install() { | ||
31 | oe_runmake install INSTALLROOT="${D}${prefix}" | ||
32 | } | ||
33 | |||
34 | FILES_${PN} += "${libdir}/*.lds" | ||