summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/systemd')
-rw-r--r--meta/recipes-core/systemd/systemd-boot_234.bb41
1 files changed, 41 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd-boot_234.bb b/meta/recipes-core/systemd/systemd-boot_234.bb
new file mode 100644
index 0000000000..ed55e537eb
--- /dev/null
+++ b/meta/recipes-core/systemd/systemd-boot_234.bb
@@ -0,0 +1,41 @@
1require systemd.inc
2FILESEXTRAPATHS =. "${FILE_DIRNAME}/systemd:"
3
4DEPENDS = "intltool-native libcap util-linux gnu-efi gperf-native"
5
6SRC_URI += "file://0007-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch"
7
8inherit autotools pkgconfig gettext
9inherit deploy
10
11export EFI_CC="${CC}"
12# Man pages are packaged through the main systemd recipe
13EXTRA_OECONF = " --enable-gnuefi \
14 --with-efi-includedir=${STAGING_INCDIR} \
15 --with-efi-ldsdir=${STAGING_LIBDIR} \
16 --with-efi-libdir=${STAGING_LIBDIR} \
17 --disable-manpages \
18 "
19
20# Imported from the old gummiboot recipe
21TUNE_CCARGS_remove = "-mfpmath=sse"
22COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux"
23
24do_compile() {
25 SYSTEMD_BOOT_EFI_ARCH="ia32"
26 if [ "${TARGET_ARCH}" = "x86_64" ]; then
27 SYSTEMD_BOOT_EFI_ARCH="x64"
28 fi
29
30 oe_runmake systemd-boot${SYSTEMD_BOOT_EFI_ARCH}.efi
31}
32
33do_install() {
34 # Bypass systemd installation with a NOP
35 :
36}
37
38do_deploy () {
39 install ${B}/systemd-boot*.efi ${DEPLOYDIR}
40}
41addtask deploy before do_build after do_compile