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
2021-01-18 16:48:21 +08:00
committed by Jia Zhang
parent 2d1fb96206
commit d05fc08f90
2 changed files with 6 additions and 9 deletions

View File

@@ -0,0 +1,5 @@
DEPENDS += "gnu-efi"
PACKAGECONFIG_append = " efi"
EXTRA_OEMESON += "-Dgnu-efi=true \
-Defi-libdir=${STAGING_LIBDIR} \
-Defi-includedir=${STAGING_INCDIR}"

View File

@@ -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)}