From: Ross Burton Date: Fri, 29 Nov 2024 17:38:00 +0000 (+0000) Subject: gnu-efi: pass HOSTCC and INCLUDEDIR X-Git-Tag: yocto-5.2~1127 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=093e4222948b29dafc272c97b9f200e4b126cadd;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git gnu-efi: pass HOSTCC and INCLUDEDIR Pass the correct host compiler (HOSTCC) and include directory to the build. Also enable verbose builds (V=1). Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.18.bb b/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.18.bb index 8257190568f..092e7ed863f 100644 --- a/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.18.bb +++ b/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.18.bb @@ -39,8 +39,11 @@ do_compile:prepend() { unset LDFLAGS } -EXTRA_OEMAKE = "'ARCH=${@gnu_efi_arch(d)}' 'CC=${CC}' 'AS=${AS}' 'LD=${LD}' 'AR=${AR}' \ - 'RANLIB=${RANLIB}' 'OBJCOPY=${OBJCOPY}' 'PREFIX=${prefix}' 'LIBDIR=${libdir}' \ +EXTRA_OEMAKE = "'V=1' 'ARCH=${@gnu_efi_arch(d)}' \ + 'HOSTCC=${BUILD_CC}' 'CC=${CC}' \ + 'AS=${AS}' 'LD=${LD}' 'AR=${AR}' \ + 'RANLIB=${RANLIB}' 'OBJCOPY=${OBJCOPY}' \ + 'PREFIX=${prefix}' 'LIBDIR=${libdir}' 'INCLUDEDIR=${includedir}' \ " # gnu-efi's Makefile treats prefix as toolchain prefix, so don't