diff options
Diffstat (limited to 'common/recipes-bsp/efilinux/efilinux_1.1.bb')
-rw-r--r-- | common/recipes-bsp/efilinux/efilinux_1.1.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/common/recipes-bsp/efilinux/efilinux_1.1.bb b/common/recipes-bsp/efilinux/efilinux_1.1.bb new file mode 100644 index 00000000..2f6e79d0 --- /dev/null +++ b/common/recipes-bsp/efilinux/efilinux_1.1.bb | |||
@@ -0,0 +1,27 @@ | |||
1 | DESCRIPTION = "A UEFI OS loader" | ||
2 | LICENSE = "BSD-2-Clause" | ||
3 | LIC_FILES_CHKSUM = "file://efilinux.h;beginline=5;endline=27;md5=f8d56e644672ac63fd81b55c205283ad" | ||
4 | |||
5 | DEPENDS = "gnu-efi" | ||
6 | |||
7 | inherit deploy | ||
8 | |||
9 | SRCREV = "a995826f9e43f1134baea61610eafd8c173bb776" | ||
10 | PV = "1.1+git${SRCPV}" | ||
11 | |||
12 | SRC_URI = "git://git.kernel.org/pub/scm/boot/efilinux/efilinux.git" | ||
13 | |||
14 | S = "${WORKDIR}/git" | ||
15 | |||
16 | COMPATIBLE_HOST = '(x86_64|i.86).*-(linux|freebsd.*)' | ||
17 | |||
18 | EXTRA_OEMAKE = "INCDIR=${STAGING_INCDIR} LIBDIR=${STAGING_LIBDIR}" | ||
19 | |||
20 | # syslinux uses $LD for linking, strip `-Wl,' so it can work | ||
21 | export LDFLAGS = "`echo $LDFLAGS | sed 's/-Wl,//g'`" | ||
22 | |||
23 | do_deploy () { | ||
24 | install ${S}/efilinux.efi ${DEPLOYDIR}/efilinux.efi | ||
25 | } | ||
26 | addtask deploy before do_build after do_compile | ||
27 | |||