meta-efi-secure-boot/systemd: switch to meson build

The systemd switched to meson build long time ago. Somehow this bbappend
didn't update. Switch to meson build otherwise these options do not work
at all.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
This commit is contained in:
Yi Zhao authored and Jia Zhang committed 2021-01-19 17:44:02 +08:00
1 parent 2d1fb96206
commit d05fc08f90
2 files changed
+6 -9

No files matched your search

@@ -0,0 +1,5 @@
DEPENDS += "gnu-efi"
PACKAGECONFIG_append = " efi"
EXTRA_OEMESON += "-Dgnu-efi=true \
-Defi-libdir=${STAGING_LIBDIR} \
-Defi-includedir=${STAGING_INCDIR}"
@@ -1,9 +1 @@
DEPENDS += "\
${@bb.utils.contains('MACHINE_FEATURES', 'efi', 'gnu-efi', '', d)} \
"
EXTRA_OECONF += "\
${@bb.utils.contains('MACHINE_FEATURES', 'efi', \
'--enable-efi --enable-gnuefi --with-efi-libdir=${STAGING_LIBDIR} --with-efi-ldsdir=${STAGING_LIBDIR} --with-efi-includedir=${STAGING_INCDIR}', \
'', d)} \
"
require ${@bb.utils.contains('DISTRO_FEATURES', 'efi-secure-boot', 'systemd-efi-secure-boot.inc', '', d)}