Files
poky/meta/recipes-bsp/systemd-boot/systemd-boot.bb
Alexander Kanavin 5d9400dde0 systemd-boot: add a comment about manpages being disabled
(From OE-Core rev: 894667b63943191e21bdeb4649e8c9828b0e5c8a)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-28 16:15:19 +01:00

40 lines
1016 B
BlitzBasic

require recipes-core/systemd/systemd.inc
DEPENDS = "intltool-native libcap util-linux gnu-efi"
SRC_URI += "file://0001-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch"
inherit autotools pkgconfig gettext
inherit deploy
# Man pages are packaged through the main systemd recipe
EXTRA_OECONF = " --enable-gnuefi \
--with-efi-includedir=${STAGING_INCDIR} \
--with-efi-ldsdir=${STAGING_LIBDIR} \
--with-efi-libdir=${STAGING_LIBDIR} \
--disable-manpages \
"
# Imported from gummiboot recipe
TUNE_CCARGS_remove = "-mfpmath=sse"
COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux"
do_compile() {
SYSTEMD_BOOT_EFI_ARCH="ia32"
if [ "${TARGET_ARCH}" = "x86_64" ]; then
SYSTEMD_BOOT_EFI_ARCH="x64"
fi
oe_runmake systemd-boot${SYSTEMD_BOOT_EFI_ARCH}.efi
}
do_install() {
# Bypass systemd installation with a NOP
:
}
do_deploy () {
install ${B}/systemd-boot*.efi ${DEPLOYDIR}
}
addtask deploy before do_build after do_compile