diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-12-08 18:57:55 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-12-13 22:55:20 +0000 |
commit | 24118116282eae1a763b685340038f2eb8bdabff (patch) | |
tree | c58e91023d03800e7102520b4b76b638fa60089c /meta/recipes-bsp/systemd-boot/systemd-boot_232.bb | |
parent | 08d092e16daa90a49ba80dde5e602a941845f77c (diff) | |
download | poky-24118116282eae1a763b685340038f2eb8bdabff.tar.gz |
systemd-boot: Use PV in recipe name
(From OE-Core rev: 8fe1e5197f6f94a49693de09f4eb9394df531cc8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/systemd-boot/systemd-boot_232.bb')
-rw-r--r-- | meta/recipes-bsp/systemd-boot/systemd-boot_232.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-bsp/systemd-boot/systemd-boot_232.bb b/meta/recipes-bsp/systemd-boot/systemd-boot_232.bb new file mode 100644 index 0000000000..70366643c6 --- /dev/null +++ b/meta/recipes-bsp/systemd-boot/systemd-boot_232.bb | |||
@@ -0,0 +1,39 @@ | |||
1 | require recipes-core/systemd/systemd.inc | ||
2 | |||
3 | DEPENDS = "intltool-native libcap util-linux gnu-efi" | ||
4 | |||
5 | SRC_URI += "file://0001-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch" | ||
6 | |||
7 | inherit autotools pkgconfig gettext | ||
8 | inherit deploy | ||
9 | |||
10 | # Man pages are packaged through the main systemd recipe | ||
11 | EXTRA_OECONF = " --enable-gnuefi \ | ||
12 | --with-efi-includedir=${STAGING_INCDIR} \ | ||
13 | --with-efi-ldsdir=${STAGING_LIBDIR} \ | ||
14 | --with-efi-libdir=${STAGING_LIBDIR} \ | ||
15 | --disable-manpages \ | ||
16 | " | ||
17 | |||
18 | # Imported from gummiboot recipe | ||
19 | TUNE_CCARGS_remove = "-mfpmath=sse" | ||
20 | COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux" | ||
21 | |||
22 | do_compile() { | ||
23 | SYSTEMD_BOOT_EFI_ARCH="ia32" | ||
24 | if [ "${TARGET_ARCH}" = "x86_64" ]; then | ||
25 | SYSTEMD_BOOT_EFI_ARCH="x64" | ||
26 | fi | ||
27 | |||
28 | oe_runmake systemd-boot${SYSTEMD_BOOT_EFI_ARCH}.efi | ||
29 | } | ||
30 | |||
31 | do_install() { | ||
32 | # Bypass systemd installation with a NOP | ||
33 | : | ||
34 | } | ||
35 | |||
36 | do_deploy () { | ||
37 | install ${B}/systemd-boot*.efi ${DEPLOYDIR} | ||
38 | } | ||
39 | addtask deploy before do_build after do_compile | ||