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