Files
Yi Zhao 2bd48852e2 meta-secure-core: fix wrong operator combination
Operations like XXX:append += "YYY" are almost always wrong and this
is a common mistake made in the metadata. Improve them to use the
standard format.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
2021-11-18 13:58:20 +08:00

33 lines
657 B
BlitzBasic

DESCRIPTION = "EFI Secure Boot packages for secure-environment."
LICENSE = "MIT"
LIC_FILES_CHKSUM = "\
file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
"
S = "${WORKDIR}"
SELOADER_PKG = "${@'seloader' if d.getVar('UEFI_SELOADER', True) == '1' else ''}"
ALLOW_EMPTY:${PN} = "1"
pkgs = "\
grub-efi \
efitools \
efibootmgr \
mokutil \
${SELOADER_PKG} \
shim \
"
RDEPENDS:${PN}:x86 = "${pkgs}"
RDEPENDS:${PN}:x86-64 = "${pkgs}"
kmods = "\
kernel-module-efivarfs \
kernel-module-efivars \
"
RRECOMMENDS:${PN}:x86 += "${kmods}"
RRECOMMENDS:${PN}:x86-64 += "${kmods}"
IMAGE_INSTALL:remove = "grub"