Pass the correct host compiler (HOSTCC) and include directory to the
build.

Also enable verbose builds (V=1).

Signed-off-by: Ross Burton <[email protected]>
---
 meta/recipes-bsp/gnu-efi/gnu-efi_3.0.18.bb | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

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
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#208026): 
https://lists.openembedded.org/g/openembedded-core/message/208026
Mute This Topic: https://lists.openembedded.org/mt/109837336/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to