diff options
author | Saul Wold <sgw@linux.intel.com> | 2017-04-10 08:58:30 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-09 14:34:36 +0000 |
commit | 0ce85641cd071ccca13715a7e30a2b8ebbc8e875 (patch) | |
tree | 56a25033e6e72ce84f6ff3af11b9264b4baa31d8 /meta | |
parent | b2121ff9c3ef0ddd2a12f14932c2e8f1557cc6b4 (diff) | |
download | poky-0ce85641cd071ccca13715a7e30a2b8ebbc8e875.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)
(From OE-Core rev: 7dcf05c29da3faac5ed8129a2b9cc6b00129fb07)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-bsp/gnu-efi/gnu-efi_3.0.4.bb | 5 |
1 files changed, 5 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 8a5e6ad700..d52048a900 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 | |||
@@ -25,6 +25,11 @@ SRC_URI[sha256sum] = "51a00428c3ccb96db24089ed8394843c4f83cf8f42c6a4dfddb4b7c23f | |||
25 | COMPATIBLE_HOST = "(x86_64.*|i.86.*|aarch64.*|arm.*)-linux" | 25 | COMPATIBLE_HOST = "(x86_64.*|i.86.*|aarch64.*|arm.*)-linux" |
26 | COMPATIBLE_HOST_armv4 = 'null' | 26 | COMPATIBLE_HOST_armv4 = 'null' |
27 | 27 | ||
28 | do_configure_linux-gnux32_prepend() { | ||
29 | cp ${STAGING_INCDIR}/gnu/stubs-x32.h ${STAGING_INCDIR}/gnu/stubs-64.h | ||
30 | cp ${STAGING_INCDIR}/bits/long-double-32.h ${STAGING_INCDIR}/bits/long-double-64.h | ||
31 | } | ||
32 | |||
28 | def gnu_efi_arch(d): | 33 | def gnu_efi_arch(d): |
29 | import re | 34 | import re |
30 | tarch = d.getVar("TARGET_ARCH", True) | 35 | tarch = d.getVar("TARGET_ARCH", True) |