diff mbox

libgpg-error 1.18: simplify tupple handling and add armv8b support

Message ID 1428905320-15709-1-git-send-email-koen.kooi@linaro.org
State New
Headers show

Commit Message

Koen Kooi April 13, 2015, 6:08 a.m. UTC
Add a default option to the case statement and remove the duplicates. Also add support for armv8b architectures.

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
---
 meta/recipes-support/libgpg-error/libgpg-error_1.18.bb | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
diff mbox

Patch

diff --git a/meta/recipes-support/libgpg-error/libgpg-error_1.18.bb b/meta/recipes-support/libgpg-error/libgpg-error_1.18.bb
index 268066b..c9a47a3 100644
--- a/meta/recipes-support/libgpg-error/libgpg-error_1.18.bb
+++ b/meta/recipes-support/libgpg-error/libgpg-error_1.18.bb
@@ -27,18 +27,14 @@  do_compile_prepend() {
 	fi
 
 	case ${TARGET_ARCH} in
-	  aarch64)    TUPLE=aarch64-unknown-linux-gnu ;;
+	  aarch64_be) TUPLE=aarch64-unknown-linux-gnu ;;
 	  arm)	      TUPLE=arm-unknown-linux-gnueabi ;;
 	  armeb)      TUPLE=arm-unknown-linux-gnueabi ;;
 	  i586|i686)  TUPLE=i486-pc-linux-gnu ;;
-	  mipsel)     TUPLE=mipsel-unknown-linux-gnu ;;
 	  mips64el)   TUPLE=mipsel-unknown-linux-gnu ;;
 	  mips64)     TUPLE=mips-unknown-linux-gnu ;;
-	  mips)       TUPLE=mips-unknown-linux-gnu ;;
-	  powerpc64)  TUPLE=powerpc64-unknown-linux-gnu ;;
-	  powerpc)    TUPLE=powerpc-unknown-linux-gnu ;;
-	  sh4)	      TUPLE=sh4-unknown-linux-gnu ;;
 	  x86_64)     TUPLE=x86_64-pc-linux-gnu ;;
+	  *)          TUPLE=${TARGET_ARCH}-unknown-linux-gnu ;; 
 	esac
 
 	cp ${S}/src/syscfg/lock-obj-pub.$TUPLE.h \