systemd-boot: Make EFI_CC overridable

Some layers may be setting their own EFI_CC
keep that possibility open

(From OE-Core rev: 4898d1883ae300ade52633109fa7dc3f6e208e14)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2017-08-24 12:17:41 -07:00
committed by Richard Purdie
parent 3e9b5f9e2d
commit 5ad6333911

View File

@@ -8,13 +8,14 @@ SRC_URI += "file://0007-use-lnr-wrapper-instead-of-looking-for-relative-opti.pat
inherit autotools pkgconfig gettext
inherit deploy
export EFI_CC="${CC}"
EFI_CC ?= "${CC}"
# Man pages are packaged through the main systemd recipe
EXTRA_OECONF = " --enable-gnuefi \
--with-efi-includedir=${STAGING_INCDIR} \
--with-efi-ldsdir=${STAGING_LIBDIR} \
--with-efi-libdir=${STAGING_LIBDIR} \
--disable-manpages \
EFI_CC='${EFI_CC}' \
"
# Imported from the old gummiboot recipe