diff options
| -rw-r--r-- | meta-efi-secure-boot/recipes-core/systemd/systemd-efi-secure-boot.inc | 5 | ||||
| -rw-r--r-- | meta-efi-secure-boot/recipes-core/systemd/systemd_%.bbappend | 10 |
2 files changed, 6 insertions, 9 deletions
diff --git a/meta-efi-secure-boot/recipes-core/systemd/systemd-efi-secure-boot.inc b/meta-efi-secure-boot/recipes-core/systemd/systemd-efi-secure-boot.inc new file mode 100644 index 0000000..da6e27b --- /dev/null +++ b/meta-efi-secure-boot/recipes-core/systemd/systemd-efi-secure-boot.inc | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | DEPENDS += "gnu-efi" | ||
| 2 | PACKAGECONFIG_append = " efi" | ||
| 3 | EXTRA_OEMESON += "-Dgnu-efi=true \ | ||
| 4 | -Defi-libdir=${STAGING_LIBDIR} \ | ||
| 5 | -Defi-includedir=${STAGING_INCDIR}" | ||
diff --git a/meta-efi-secure-boot/recipes-core/systemd/systemd_%.bbappend b/meta-efi-secure-boot/recipes-core/systemd/systemd_%.bbappend index 665a025..c9e58fd 100644 --- a/meta-efi-secure-boot/recipes-core/systemd/systemd_%.bbappend +++ b/meta-efi-secure-boot/recipes-core/systemd/systemd_%.bbappend | |||
| @@ -1,9 +1 @@ | |||
| 1 | DEPENDS += "\ | require ${@bb.utils.contains('DISTRO_FEATURES', 'efi-secure-boot', 'systemd-efi-secure-boot.inc', '', d)} | |
| 2 | ${@bb.utils.contains('MACHINE_FEATURES', 'efi', 'gnu-efi', '', d)} \ | ||
| 3 | " | ||
| 4 | |||
| 5 | EXTRA_OECONF += "\ | ||
| 6 | ${@bb.utils.contains('MACHINE_FEATURES', 'efi', \ | ||
| 7 | '--enable-efi --enable-gnuefi --with-efi-libdir=${STAGING_LIBDIR} --with-efi-ldsdir=${STAGING_LIBDIR} --with-efi-includedir=${STAGING_INCDIR}', \ | ||
| 8 | '', d)} \ | ||
| 9 | " | ||
