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>
This commit is contained in:
Tom Rini
2018-07-31 10:28:39 -04:00
committed by Jia Zhang
parent cd40815e69
commit bc6bbe2bde

View File

@@ -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"