diff options
| author | Ross Burton <ross.burton@arm.com> | 2024-11-29 17:38:00 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-11-29 22:13:25 +0000 |
| commit | 1e34a24ff5a789b131800948a069f6d2b010529f (patch) | |
| tree | e63791f0a0326bc964144c3e7242d159a25e2031 /meta/recipes-bsp | |
| parent | a8d47fdd60500dcb93b94b4e113eb6075d36bba7 (diff) | |
| download | poky-1e34a24ff5a789b131800948a069f6d2b010529f.tar.gz | |
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>
Diffstat (limited to 'meta/recipes-bsp')
| -rw-r--r-- | meta/recipes-bsp/gnu-efi/gnu-efi_3.0.18.bb | 7 |
1 files 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 8257190568..092e7ed863 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() { | |||
| 39 | unset LDFLAGS | 39 | unset LDFLAGS |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | EXTRA_OEMAKE = "'ARCH=${@gnu_efi_arch(d)}' 'CC=${CC}' 'AS=${AS}' 'LD=${LD}' 'AR=${AR}' \ | 42 | EXTRA_OEMAKE = "'V=1' 'ARCH=${@gnu_efi_arch(d)}' \ |
| 43 | 'RANLIB=${RANLIB}' 'OBJCOPY=${OBJCOPY}' 'PREFIX=${prefix}' 'LIBDIR=${libdir}' \ | 43 | 'HOSTCC=${BUILD_CC}' 'CC=${CC}' \ |
| 44 | 'AS=${AS}' 'LD=${LD}' 'AR=${AR}' \ | ||
| 45 | 'RANLIB=${RANLIB}' 'OBJCOPY=${OBJCOPY}' \ | ||
| 46 | 'PREFIX=${prefix}' 'LIBDIR=${libdir}' 'INCLUDEDIR=${includedir}' \ | ||
| 44 | " | 47 | " |
| 45 | 48 | ||
| 46 | # gnu-efi's Makefile treats prefix as toolchain prefix, so don't | 49 | # gnu-efi's Makefile treats prefix as toolchain prefix, so don't |
