[OE-core] [PATCH] libgpg-error: Make case generic for MIPS

Khem Raj raj.khem at gmail.com
Sun Oct 16 18:36:45 UTC 2016


> On Oct 12, 2016, at 5:55 AM, Zubair Lutfullah Kakakhel <Zubair.Kakakhel at imgtec.com> wrote:
> 
> 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>
> ---
> 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 ;;

Is this enough or do we also need to fix TUPLE value to account
for this new triplet for another mips ABI ?

> 	  x86_64)     TUPLE=x86_64-pc-linux-gnu ;;
> 	  *)          TUPLE=${TARGET_ARCH}-unknown-linux-gnu ;;
> 	esac
> --
> 1.9.1
> 
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20161016/86c50f04/attachment-0002.sig>


More information about the Openembedded-core mailing list