diff mbox series

systemd-boot: Make EFI_CC overridable

Message ID 20170824191741.11096-1-raj.khem@gmail.com
State Accepted
Commit 4898d1883ae300ade52633109fa7dc3f6e208e14
Headers show
Series systemd-boot: Make EFI_CC overridable | expand

Commit Message

Khem Raj Aug. 24, 2017, 7:17 p.m. UTC
Some layers may be setting their own EFI_CC
keep that possibility open

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta/recipes-core/systemd/systemd-boot_234.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
2.14.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox series

Patch

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