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