diff options
author | Stefan Stanacar <stefanx.stanacar@intel.com> | 2014-02-21 12:17:35 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-11 09:30:14 -0700 |
commit | de18567e623ffa1033dc1ba236cad2fa34143e56 (patch) | |
tree | 32857ffd518a6c7b1ca08994dcd63a1327401494 /meta/recipes-bsp/gummiboot | |
parent | b588a243e79433e76c904e338865c2b822f9f114 (diff) | |
download | poky-de18567e623ffa1033dc1ba236cad2fa34143e56.tar.gz |
recipes-bsp: Add gummiboot recipe
gummiboot is a simple UEFI boot manager.
Recipe imported from meta-intel with these changes:
- drop PR and update configure options
- upgraded to latest version
A couple of notes:
- If you wish you can install the gummiboot package on the target and
use 'gummiboot install' to add the payload to the ESP (see gummiboot --help,
just make sure the ESP partition has the boot flag on as gummiboot won't accept it
otherwise). However the point of this recipe is to be used by bootimg.bbclass and
generate images with gummiboot instead of grub-efi.
- You need a kernel which has CONFIG_EFI_STUB=y at least
- The default linux-yocto kernel config does not enable that, easiest way
to enable is to build with KERNEL_FEATURES_append = " cfg/efi-ext" in local.conf
(From OE-Core rev: 8f95d0598c31fff76e2a58fecb6c96197121a044)
Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/gummiboot')
-rw-r--r-- | meta/recipes-bsp/gummiboot/gummiboot_git.bb | 25 |
1 files changed, 25 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..5868a23ae8 --- /dev/null +++ b/meta/recipes-bsp/gummiboot/gummiboot_git.bb | |||
@@ -0,0 +1,25 @@ | |||
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 | |||
16 | S = "${WORKDIR}/git" | ||
17 | |||
18 | EXTRA_OECONF = "--disable-manpages --with-efi-includedir=${STAGING_INCDIR} \ | ||
19 | --with-efi-ldsdir=${STAGING_LIBDIR} \ | ||
20 | --with-efi-libdir=${STAGING_LIBDIR}" | ||
21 | |||
22 | do_deploy () { | ||
23 | install ${B}/gummiboot*.efi ${DEPLOYDIR} | ||
24 | } | ||
25 | addtask deploy before do_build after do_compile | ||