[oe-commits] [openembedded-core] 03/06: gnu-efi: copy header files for x32 build

git at git.openembedded.org git at git.openembedded.org
Sat Dec 9 11:10:16 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch morty-next
in repository openembedded-core.

commit 7dcf05c29da3faac5ed8129a2b9cc6b00129fb07
Author: Saul Wold <sgw at linux.intel.com>
AuthorDate: Mon Apr 10 08:58:30 2017 -0700

    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 at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta/recipes-bsp/gnu-efi/gnu-efi_3.0.4.bb | 5 +++++
 1 file changed, 5 insertions(+)

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 8a5e6ad..d52048a 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
 COMPATIBLE_HOST = "(x86_64.*|i.86.*|aarch64.*|arm.*)-linux"
 COMPATIBLE_HOST_armv4 = 'null'
 
+do_configure_linux-gnux32_prepend() {
+	cp ${STAGING_INCDIR}/gnu/stubs-x32.h ${STAGING_INCDIR}/gnu/stubs-64.h
+	cp ${STAGING_INCDIR}/bits/long-double-32.h ${STAGING_INCDIR}/bits/long-double-64.h
+}
+
 def gnu_efi_arch(d):
     import re
     tarch = d.getVar("TARGET_ARCH", True)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list