[gnome-continuous-yocto/gnomeostree-3.28-rocko: 3950/8267] gnu-efi: build 64-bit for x32
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 3950/8267] gnu-efi: build 64-bit for x32
- Date: Sun, 17 Dec 2017 01:21:07 +0000 (UTC)
commit c12cd31231ac81d73b199f725ea4586138ead4a2
Author: Christopher Larson <chris_larson mentor com>
Date: Tue Dec 13 20:00:35 2016 -0700
gnu-efi: build 64-bit for x32
We're targeting the x86_64 EFI ABI.
(From OE-Core rev: 24325410acb670a3e7bc626ac3607efa8df38dc5)
Signed-off-by: Christopher Larson <chris_larson mentor com>
Signed-off-by: Ross Burton <ross burton intel com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
meta/recipes-bsp/gnu-efi/gnu-efi_3.0.4.bb | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.4.bb b/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.4.bb
index 9ddc4ba..e55ab7f 100644
--- a/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.4.bb
+++ b/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.4.bb
@@ -52,3 +52,12 @@ BBCLASSEXTEND = "native"
# CFLAGS += -mno-mmx -mno-sse
# So also remove -mfpmath=sse from TUNE_CCARGS
TUNE_CCARGS_remove = "-mfpmath=sse"
+
+python () {
+ ccargs = d.getVar('TUNE_CCARGS', True).split()
+ if '-mx32' in ccargs:
+ # use x86_64 EFI ABI
+ ccargs.remove('-mx32')
+ ccargs.append('-m64')
+ d.setVar('TUNE_CCARGS', ' '.join(ccargs))
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]