From b508457fbf3674cd573f00d972aca55048c015cf Mon Sep 17 00:00:00 2001 From: Darren Hart Date: Tue, 20 Mar 2012 17:31:26 -0700 Subject: 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 CC: Paul Eggleton CC: Tom Zanussi CC: Kishore K Bodke Signed-off-by: Darren Hart --- common/recipes-bsp/gnu-efi/gnu-efi_3.0m.bb | 34 ++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 common/recipes-bsp/gnu-efi/gnu-efi_3.0m.bb (limited to 'common/recipes-bsp/gnu-efi/gnu-efi_3.0m.bb') 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 @@ +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" + +PR = "r2" + +SRCREV = "74" + +SRC_URI = "http://downloads.sourceforge.net/gnu-efi/gnu-efi_3.0m.orig.tar.gz \ + file://cross-compile-support.patch \ + file://parallel-make.patch \ + " +SRC_URI[md5sum] = "d0a21125aee56c0c7291ad260e916cb3" + +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}' \ + " + +do_install() { + oe_runmake install INSTALLROOT="${D}${prefix}" +} + +FILES_${PN} += "${libdir}/*.lds" -- cgit v1.2.3-54-g00ecf