[OE-core] [PATCH 07/16] gummiboot: fix for x32 from systemd-boot
Christopher Larson
kergoth at gmail.com
Thu Jan 5 19:46:19 UTC 2017
From: Christopher Larson <chris_larson at mentor.com>
Signed-off-by: Christopher Larson <chris_larson at mentor.com>
---
.../gummiboot/configure-allow-setting-EFI_CC.patch | 28 ++++++++++++++++++++++
meta/recipes-bsp/gummiboot/gummiboot_git.bb | 1 +
2 files changed, 29 insertions(+)
create mode 100644 meta/recipes-bsp/gummiboot/gummiboot/configure-allow-setting-EFI_CC.patch
diff --git a/meta/recipes-bsp/gummiboot/gummiboot/configure-allow-setting-EFI_CC.patch b/meta/recipes-bsp/gummiboot/gummiboot/configure-allow-setting-EFI_CC.patch
new file mode 100644
index 0000000..59997f2
--- /dev/null
+++ b/meta/recipes-bsp/gummiboot/gummiboot/configure-allow-setting-EFI_CC.patch
@@ -0,0 +1,28 @@
+From e18c86d8eb1fb6166b8c386446123790e503d28c Mon Sep 17 00:00:00 2001
+From: Marc-Antoine Perennou <Marc-Antoine at Perennou.com>
+Date: Wed, 8 Apr 2015 22:33:53 +0200
+Subject: [PATCH] configure: allow setting EFI_CC
+
+Upstream-Status: Backport [from systemd-boot]
+Signed-off-by: Christopher Larson <chris_larson at mentor.com>
+---
+ configure.ac | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 27bbe1d..3efb810 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -37,8 +37,7 @@ AC_SYS_LARGEFILE
+ AC_PROG_CC
+
+ dnl Don't try to use things like -std=c99 for efi compilation
+-EFI_CC=$CC
+-AC_SUBST([EFI_CC])
++AC_CHECK_TOOL(EFI_CC, gcc)
+
+ AC_PROG_CC_C99
+ AM_PROG_CC_C_O
+--
+2.8.0
+
diff --git a/meta/recipes-bsp/gummiboot/gummiboot_git.bb b/meta/recipes-bsp/gummiboot/gummiboot_git.bb
index c684b83..d7d6c28 100644
--- a/meta/recipes-bsp/gummiboot/gummiboot_git.bb
+++ b/meta/recipes-bsp/gummiboot/gummiboot_git.bb
@@ -14,6 +14,7 @@ SRCREV = "2bcd919c681c952eb867ef1bdb458f1bc49c2d55"
SRC_URI = "git://anongit.freedesktop.org/gummiboot \
file://fix-objcopy.patch \
file://0001-console-Fix-C-syntax-errors-for-function-declaration.patch \
+ file://configure-allow-setting-EFI_CC.patch \
"
PACKAGECONFIG[manpages] = "--enable-manpages, --disable-manpages, libxslt-native xmlto-native"
--
2.8.0
More information about the Openembedded-core
mailing list