summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/gnu-efi
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2017-04-10 08:58:30 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-11 18:10:17 +0100
commitaa524152d82586a169b020a4f643f58a9037f8f5 (patch)
tree64d905f01b7d1239d9b88bcf7fe3f56fe86b07b8 /meta/recipes-bsp/gnu-efi
parent34db499e6bf1cd6cada582f43297085894211f75 (diff)
downloadpoky-aa524152d82586a169b020a4f643f58a9037f8f5.tar.gz
gnu-efi: copy header files for x32 build
Gnu-efi needs to be build for 64bit since it is a boot time tool. It needs these 2 headers to be in 64 bit versions, we can use the existing 32bit ones as there is not really any difference. [YOCTO #11051] (From OE-Core rev: 3398552663e1e18aaf352d682a77a8ad3af94e5a) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/gnu-efi')
-rw-r--r--meta/recipes-bsp/gnu-efi/gnu-efi_3.0.5.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.5.bb b/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.5.bb
index f46381d5f1..6f235b7455 100644
--- a/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.5.bb
+++ b/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.5.bb
@@ -24,6 +24,11 @@ SRC_URI[sha256sum] = "bd8fcd5914f18fc0e4ba948ab03b00013e528504f529c60739b748f6ef
24COMPATIBLE_HOST = "(x86_64.*|i.86.*|aarch64.*|arm.*)-linux" 24COMPATIBLE_HOST = "(x86_64.*|i.86.*|aarch64.*|arm.*)-linux"
25COMPATIBLE_HOST_armv4 = 'null' 25COMPATIBLE_HOST_armv4 = 'null'
26 26
27do_configure_linux-gnux32_prepend() {
28 cp ${STAGING_INCDIR}/gnu/stubs-x32.h ${STAGING_INCDIR}/gnu/stubs-64.h
29 cp ${STAGING_INCDIR}/bits/long-double-32.h ${STAGING_INCDIR}/bits/long-double-64.h
30}
31
27def gnu_efi_arch(d): 32def gnu_efi_arch(d):
28 import re 33 import re
29 tarch = d.getVar("TARGET_ARCH") 34 tarch = d.getVar("TARGET_ARCH")