]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
libgpg-error: Make case generic for MIPS
authorZubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Wed, 12 Oct 2016 12:55:02 +0000 (13:55 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 15 Oct 2016 08:55:37 +0000 (09:55 +0100)
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@imgtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-support/libgpg-error/libgpg-error_1.24.bb

index e45a7b860adc292d05f0f6ed46059563b9848763..84a882a0c1ba8f48bdde3363a2ed0a693b2870fd 100644 (file)
@@ -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