summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-08-24 12:17:41 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-27 22:29:45 +0100
commit4898d1883ae300ade52633109fa7dc3f6e208e14 (patch)
tree190eabcab40a34c8f198bf732b3b9112946cb4f5
parent4d6b5b85508f1b55c9ae38a9a9bb82e060e3c793 (diff)
downloadopenembedded-core-contrib-4898d1883ae300ade52633109fa7dc3f6e208e14.tar.gz
openembedded-core-contrib-4898d1883ae300ade52633109fa7dc3f6e208e14.tar.bz2
openembedded-core-contrib-4898d1883ae300ade52633109fa7dc3f6e208e14.zip
systemd-boot: Make EFI_CC overridable
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>
-rw-r--r--meta/recipes-core/systemd/systemd-boot_234.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/systemd/systemd-boot_234.bb b/meta/recipes-core/systemd/systemd-boot_234.bb
index ed55e537eb..655797f3cc 100644
--- a/meta/recipes-core/systemd/systemd-boot_234.bb
+++ b/meta/recipes-core/systemd/systemd-boot_234.bb
@@ -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