Some layers may be setting their own EFI_CC
keep that possibility open
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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