]> code.ossystems Code Review - openembedded-core.git/commitdiff
systemd-boot: Make EFI_CC overridable
authorKhem Raj <raj.khem@gmail.com>
Thu, 24 Aug 2017 19:17:41 +0000 (12:17 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 27 Aug 2017 21:29:45 +0000 (22:29 +0100)
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>
meta/recipes-core/systemd/systemd-boot_234.bb

index ed55e537ebf2660b99497b5e245a2e7875e27176..655797f3cc40f3e89dd142a55af0ad271c737b29 100644 (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