summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libgpg-error
diff options
context:
space:
mode:
authorSerhey Popovych <serhe.popovych@gmail.com>2018-11-01 19:21:10 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-07 23:08:55 +0000
commite1f8c4dac84425336175362c246527a006f65ff5 (patch)
tree063d58b93fedd6f12be44be87ec26f07471c5855 /meta/recipes-support/libgpg-error
parenta7bf511703d67af956e8d8152a53ec1a58b31ee1 (diff)
downloadpoky-e1f8c4dac84425336175362c246527a006f65ff5.tar.gz
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. (From OE-Core rev: f1af780769477f06eb925fd87c844baba04ada2d) Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libgpg-error')
-rw-r--r--meta/recipes-support/libgpg-error/libgpg-error_1.32.bb2
1 files changed, 2 insertions, 0 deletions
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 a6ca982c0e..e552001cb6 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() {
48 mips*el) TUPLE=mipsel-unknown-linux-gnu ;; 48 mips*el) TUPLE=mipsel-unknown-linux-gnu ;;
49 mips*) TUPLE=mips-unknown-linux-gnu ;; 49 mips*) TUPLE=mips-unknown-linux-gnu ;;
50 x86_64) TUPLE=x86_64-unknown-linux-gnu ;; 50 x86_64) TUPLE=x86_64-unknown-linux-gnu ;;
51 ppc64) TUPLE=powerpc64-unknown-linux-gnu ;;
52 ppc64le) TUPLE=powerpc64le-unknown-linux-gnu ;;
51 *) TUPLE=${TARGET_ARCH}-unknown-linux-gnu ;; 53 *) TUPLE=${TARGET_ARCH}-unknown-linux-gnu ;;
52 esac 54 esac
53 55