mirror of
https://git.yoctoproject.org/meta-security
synced 2026-01-12 03:10:13 +00:00
tpm2-tcti-uefi: build and install examples
Examples are usefull to actually check TPM2 from UEFI shell. Add them to tpm2-tcti-uefi package. Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
committed by
Armin Kuster
parent
60fc73e4da
commit
a655c8e4b4
@@ -14,6 +14,17 @@ S = "${WORKDIR}/git"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
EFIDIR ?= "/EFI/BOOT"
|
||||
|
||||
do_compile_append() {
|
||||
oe_runmake example
|
||||
}
|
||||
|
||||
do_install_append() {
|
||||
install -d "${D}${EFIDIR}"
|
||||
install -m 0755 "${B}"/example/*.efi "${D}${EFIDIR}"
|
||||
}
|
||||
|
||||
EFI_ARCH_x86 = "ia32"
|
||||
EFI_ARCH_x86-64 = "x86_64"
|
||||
|
||||
@@ -24,3 +35,5 @@ EXTRA_OECONF_append = "\
|
||||
--with-efi-lds=${STAGING_LIBDIR_NATIVE}/elf_${EFI_ARCH}_efi.lds \
|
||||
"
|
||||
RDEPENDS_${PN} = "gnu-efi"
|
||||
|
||||
FILES_${PN} += "${EFIDIR}"
|
||||
|
||||
Reference in New Issue
Block a user