Skip to contentSkip to conversation

systemd-boot: Make EFI_CC overridable

PATCH New Khem Raj 1 participant 1 message Aug 24, 2017

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 systemd-boot: Make EFI_CC overridable

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

---
 meta/recipes-core/systemd/systemd-boot_234.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-core/systemd/systemd-boot_234.bb +2 -1
index ed55e537eb..655797f3cc 100644
@@ -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
Signature · 1 line
2.14.1