diff options
author | Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com> | 2019-07-24 16:03:35 +0300 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2019-08-04 12:17:25 -0700 |
commit | e3352832a70a609538c0d6c549b6ad523c5bf0f4 (patch) | |
tree | 3ab729ce328f2925e8560bfee15d2bfabeda4502 | |
parent | 95e58ad690353cddac806c9ae06f32b59b132d2a (diff) | |
download | meta-security-e3352832a70a609538c0d6c549b6ad523c5bf0f4.tar.gz |
tpm2-tcti-uefi: fix configure arguments
Pass correct location of EFI's crt0 and ld script.
Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | meta-tpm/recipes-tpm2/tpm2-tcti-uefi/tpm2-tcti-uefi_0.9.9.bb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/meta-tpm/recipes-tpm2/tpm2-tcti-uefi/tpm2-tcti-uefi_0.9.9.bb b/meta-tpm/recipes-tpm2/tpm2-tcti-uefi/tpm2-tcti-uefi_0.9.9.bb index 983f72e..0314050 100644 --- a/meta-tpm/recipes-tpm2/tpm2-tcti-uefi/tpm2-tcti-uefi_0.9.9.bb +++ b/meta-tpm/recipes-tpm2/tpm2-tcti-uefi/tpm2-tcti-uefi_0.9.9.bb | |||
@@ -13,6 +13,13 @@ S = "${WORKDIR}/git" | |||
13 | 13 | ||
14 | inherit autotools pkgconfig | 14 | inherit autotools pkgconfig |
15 | 15 | ||
16 | EFI_ARCH_x86 = "ia32" | ||
17 | EFI_ARCH_x86-64 = "x86_64" | ||
18 | |||
16 | COMPATIBLE_HOST = "(i.86|x86_64).*-linux" | 19 | COMPATIBLE_HOST = "(i.86|x86_64).*-linux" |
17 | EXTRA_OECONF_append = " --with-efi-includedir=${STAGING_INCDIR}/efi --with-efi-lds=${STAGING_LIBDIR_NATIVE}/" | 20 | EXTRA_OECONF_append = "\ |
21 | --with-efi-includedir=${STAGING_INCDIR}/efi \ | ||
22 | --with-efi-crt0=${STAGING_LIBDIR_NATIVE}/crt0-efi-${EFI_ARCH}.o \ | ||
23 | --with-efi-lds=${STAGING_LIBDIR_NATIVE}/elf_${EFI_ARCH}_efi.lds \ | ||
24 | " | ||
18 | RDEPENDS_${PN} = "gnu-efi" | 25 | RDEPENDS_${PN} = "gnu-efi" |