diff options
author | Tom Rini <trini@konsulko.com> | 2018-07-31 10:28:39 -0400 |
---|---|---|
committer | Jia Zhang <zhang.jia@linux.alibaba.com> | 2018-07-31 22:48:35 +0800 |
commit | bc6bbe2bde309f86cf3891fb2b1720717077e9b3 (patch) | |
tree | 9cecfd6bb28a5f3d32d74d2c756a68232b87ea4d | |
parent | cd40815e69cba65ad8181f4689ff7e26053d28e7 (diff) | |
download | meta-secure-core-bc6bbe2bde309f86cf3891fb2b1720717077e9b3.tar.gz |
seloader: Fix building for rocko
When building on rocko we have gnu-efi version 3.0.6 around and seloader
needs to be told this for certain string functions to be provided by
itself rather than gnu-efi. Add in conditional logic to pass this only
for rocko.
Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | meta-efi-secure-boot/recipes-bsp/seloader/seloader_git.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-efi-secure-boot/recipes-bsp/seloader/seloader_git.bb b/meta-efi-secure-boot/recipes-bsp/seloader/seloader_git.bb index c559f92..0ea45a0 100644 --- a/meta-efi-secure-boot/recipes-bsp/seloader/seloader_git.bb +++ b/meta-efi-secure-boot/recipes-bsp/seloader/seloader_git.bb | |||
@@ -45,6 +45,8 @@ EXTRA_OEMAKE = "\ | |||
45 | LIB_GCC="`${CC} -print-libgcc-file-name`" \ | 45 | LIB_GCC="`${CC} -print-libgcc-file-name`" \ |
46 | " | 46 | " |
47 | 47 | ||
48 | EXTRA_OEMAKE += "${@bb.utils.contains('LAYERSERIES_CORENAMES', 'rocko', 'GNU_EFI_VERSION=306', '', d)}" | ||
49 | |||
48 | EFI_ARCH_x86 = "ia32" | 50 | EFI_ARCH_x86 = "ia32" |
49 | EFI_ARCH_x86-64 = "x64" | 51 | EFI_ARCH_x86-64 = "x64" |
50 | 52 | ||