diff options
Diffstat (limited to 'meta/recipes-bsp/gummiboot/gummiboot_git.bb')
-rw-r--r-- | meta/recipes-bsp/gummiboot/gummiboot_git.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-bsp/gummiboot/gummiboot_git.bb b/meta/recipes-bsp/gummiboot/gummiboot_git.bb new file mode 100644 index 0000000000..80df2b6ae3 --- /dev/null +++ b/meta/recipes-bsp/gummiboot/gummiboot_git.bb | |||
@@ -0,0 +1,34 @@ | |||
1 | SUMMARY = "Gummiboot is a simple UEFI boot manager which executes configured EFI images." | ||
2 | HOMEPAGE = "http://freedesktop.org/wiki/Software/gummiboot" | ||
3 | |||
4 | LICENSE = "LGPLv2.1" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c" | ||
6 | |||
7 | DEPENDS = "gnu-efi util-linux" | ||
8 | |||
9 | inherit autotools | ||
10 | inherit deploy | ||
11 | |||
12 | PV = "43+git${SRCPV}" | ||
13 | SRCREV = "4062c51075ba054d4949c714fe06123f9ad3097d" | ||
14 | SRC_URI = "git://anongit.freedesktop.org/gummiboot \ | ||
15 | file://fix-objcopy.patch \ | ||
16 | " | ||
17 | |||
18 | # Note: Add COMPATIBLE_HOST here is only because it depends on gnu-efi | ||
19 | # which has set the COMPATIBLE_HOST, the gummiboot itself may work on | ||
20 | # more hosts. | ||
21 | COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux" | ||
22 | |||
23 | S = "${WORKDIR}/git" | ||
24 | |||
25 | EXTRA_OECONF = "--disable-manpages --with-efi-includedir=${STAGING_INCDIR} \ | ||
26 | --with-efi-ldsdir=${STAGING_LIBDIR} \ | ||
27 | --with-efi-libdir=${STAGING_LIBDIR}" | ||
28 | |||
29 | EXTRA_OEMAKE += "gummibootlibdir=${libdir}/gummiboot" | ||
30 | |||
31 | do_deploy () { | ||
32 | install ${B}/gummiboot*.efi ${DEPLOYDIR} | ||
33 | } | ||
34 | addtask deploy before do_build after do_compile | ||