[oe-commits] [openembedded-core] 20/32: libgpg-error: Make case generic for MIPS

git at git.openembedded.org git at git.openembedded.org
Sat Oct 15 09:06:05 UTC 2016


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

commit 49dc626182694d4dd92ed921a8fa2d9cd9f49635
Author: Zubair Lutfullah Kakakhel <Zubair.Kakakhel at imgtec.com>
AuthorDate: Wed Oct 12 13:55:02 2016 +0100

    libgpg-error: Make case generic for MIPS
    
    The tuples for MIPS r6 onwards are
    - mipsisa32r6el
    - mipsisa32r6
    - mipsisa64r6el
    - mipsisa64r6
    
    The default case passes it forward which isn't handled well and
    causes a build error. Rework the case statement to make it generic.
    
    Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel at imgtec.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-support/libgpg-error/libgpg-error_1.24.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-support/libgpg-error/libgpg-error_1.24.bb b/meta/recipes-support/libgpg-error/libgpg-error_1.24.bb
index e45a7b8..84a882a 100644
--- a/meta/recipes-support/libgpg-error/libgpg-error_1.24.bb
+++ b/meta/recipes-support/libgpg-error/libgpg-error_1.24.bb
@@ -33,8 +33,8 @@ do_compile_prepend() {
 	  arm)	      TUPLE=arm-unknown-linux-gnueabi ;;
 	  armeb)      TUPLE=arm-unknown-linux-gnueabi ;;
 	  i586|i686)  TUPLE=i686-pc-linux-gnu ;;
-	  mips64el)   TUPLE=mipsel-unknown-linux-gnu ;;
-	  mips64)     TUPLE=mips-unknown-linux-gnu ;;
+	  mips*el)    TUPLE=mipsel-unknown-linux-gnu ;;
+	  mips*)      TUPLE=mips-unknown-linux-gnu ;;
 	  x86_64)     TUPLE=x86_64-pc-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