[oe-commits] [openembedded-core] 10/12: libgpg-error: Support build for native on ppc64/ppc64le hosts

git at git.openembedded.org git at git.openembedded.org
Fri Nov 2 22:53:48 UTC 2018


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

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

commit a55fa4a0a54f8d4f3d2a29ca6e3cc14265a1d74d
Author: Serhey Popovych <serhe.popovych at gmail.com>
AuthorDate: Thu Nov 1 19:21:10 2018 +0200

    libgpg-error: Support build for native on ppc64/ppc64le hosts
    
    Both RHEL and SLES uses ppc64/ppc64le for powerpc 64 bit big/little
    endian targets instead of powerpc64/powerpc64le in libgpg-error.
    
    Also libgpg-error provides common target system names in form like
    <arch>-unknown-linux-gnu.
    
    Add mapping for ppc64/ppc64le targets to their libgpg-error equivalents
    to fix native builds.
    
    Cross build for arm64 tested on IBM Power 8 machine with RHEL7 for
    ppc64le variant only, but should work for ppc64 as well.
    
    Signed-off-by: Serhey Popovych <serhe.popovych at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-support/libgpg-error/libgpg-error_1.32.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-support/libgpg-error/libgpg-error_1.32.bb b/meta/recipes-support/libgpg-error/libgpg-error_1.32.bb
index 4f3e3d8..7655106 100644
--- a/meta/recipes-support/libgpg-error/libgpg-error_1.32.bb
+++ b/meta/recipes-support/libgpg-error/libgpg-error_1.32.bb
@@ -48,6 +48,8 @@ do_compile_prepend() {
 	  mips*el)    TUPLE=mipsel-unknown-linux-gnu ;;
 	  mips*)      TUPLE=mips-unknown-linux-gnu ;;
 	  x86_64)     TUPLE=x86_64-unknown-linux-gnu ;;
+	  ppc64)      TUPLE=powerpc64-unknown-linux-gnu ;;
+	  ppc64le)    TUPLE=powerpc64le-unknown-linux-gnu ;;
 	  *)          TUPLE=${TARGET_ARCH}-unknown-linux-gnu ;;
 	esac
 

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


More information about the Openembedded-commits mailing list