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/efilinux/efilinux_1.0.bb | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 common/recipes-bsp/efilinux/efilinux_1.0.bb (limited to 'common/recipes-bsp/efilinux') diff --git a/common/recipes-bsp/efilinux/efilinux_1.0.bb b/common/recipes-bsp/efilinux/efilinux_1.0.bb new file mode 100644 index 00000000..2a7bf6bf --- /dev/null +++ b/common/recipes-bsp/efilinux/efilinux_1.0.bb @@ -0,0 +1,28 @@ +DESCRIPTION = "A UEFI OS loader" +LICENSE = "efilinux" +LIC_FILES_CHKSUM = "file://efilinux.h;beginline=5;endline=31;md5=2316abda893ef24e6cd55cef33aa0edd" + +DEPENDS = "gnu-efi" + +inherit deploy + +SRCREV = "75b62111f83dab433e901c1a7b0f05e058aa29de" +PV = "1.0+git${SRCPV}" +PR = "r0" + +SRC_URI = "git://git.kernel.org/pub/scm/boot/efilinux/efilinux.git" + +S = "${WORKDIR}/git" + +COMPATIBLE_HOST = '(x86_64|i.86).*-(linux|freebsd.*)' + +EXTRA_OEMAKE = "INCDIR=${STAGING_INCDIR} LIBDIR=${STAGING_LIBDIR}" + +# syslinux uses $LD for linking, strip `-Wl,' so it can work +export LDFLAGS = "`echo $LDFLAGS | sed 's/-Wl,//g'`" + +do_deploy () { + install ${S}/efilinux.efi ${DEPLOYDIR}/efilinux.efi +} +addtask deploy before do_build after do_compile + -- cgit v1.2.3-54-g00ecf