diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-08-24 12:17:41 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-27 22:30:06 +0100 |
commit | 5ad6333911c8dfb399a94dea37a5188fbf35a2d4 (patch) | |
tree | 5cc8c5417fd7ba16e305295466a9f1cfaa977e6f /meta/recipes-core | |
parent | 3e9b5f9e2d0b6de2d9286be3fc2b56d4f731a687 (diff) | |
download | poky-5ad6333911c8dfb399a94dea37a5188fbf35a2d4.tar.gz |
systemd-boot: Make EFI_CC overridable
Some layers may be setting their own EFI_CC
keep that possibility open
(From OE-Core rev: 4898d1883ae300ade52633109fa7dc3f6e208e14)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/systemd/systemd-boot_234.bb | 3 |
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 | |||
8 | inherit autotools pkgconfig gettext | 8 | inherit autotools pkgconfig gettext |
9 | inherit deploy | 9 | inherit deploy |
10 | 10 | ||
11 | export EFI_CC="${CC}" | 11 | EFI_CC ?= "${CC}" |
12 | # Man pages are packaged through the main systemd recipe | 12 | # Man pages are packaged through the main systemd recipe |
13 | EXTRA_OECONF = " --enable-gnuefi \ | 13 | EXTRA_OECONF = " --enable-gnuefi \ |
14 | --with-efi-includedir=${STAGING_INCDIR} \ | 14 | --with-efi-includedir=${STAGING_INCDIR} \ |
15 | --with-efi-ldsdir=${STAGING_LIBDIR} \ | 15 | --with-efi-ldsdir=${STAGING_LIBDIR} \ |
16 | --with-efi-libdir=${STAGING_LIBDIR} \ | 16 | --with-efi-libdir=${STAGING_LIBDIR} \ |
17 | --disable-manpages \ | 17 | --disable-manpages \ |
18 | EFI_CC='${EFI_CC}' \ | ||
18 | " | 19 | " |
19 | 20 | ||
20 | # Imported from the old gummiboot recipe | 21 | # Imported from the old gummiboot recipe |