• Darren Hart's avatar
    efilinux: Add efilinux 1.0 and gnu-efi · b508457f
    Darren Hart authored
    
    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: default avatarDarren 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: default avatarDarren Hart <dvhart@linux.intel.com>
    b508457f
efilinux_1.0.bb 732 B
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