mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
gnu-efi: pass HOSTCC and INCLUDEDIR
Pass the correct host compiler (HOSTCC) and include directory to the build. Also enable verbose builds (V=1). (From OE-Core rev: 093e4222948b29dafc272c97b9f200e4b126cadd) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
a8d47fdd60
commit
1e34a24ff5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user