From bc6bbe2bde309f86cf3891fb2b1720717077e9b3 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Tue, 31 Jul 2018 10:28:39 -0400 Subject: 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 --- meta-efi-secure-boot/recipes-bsp/seloader/seloader_git.bb | 2 ++ 1 file changed, 2 insertions(+) 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 = "\ LIB_GCC="`${CC} -print-libgcc-file-name`" \ " +EXTRA_OEMAKE += "${@bb.utils.contains('LAYERSERIES_CORENAMES', 'rocko', 'GNU_EFI_VERSION=306', '', d)}" + EFI_ARCH_x86 = "ia32" EFI_ARCH_x86-64 = "x64" -- cgit v1.2.3-54-g00ecf