> On Jan 14, 2015, at 3:32 AM, Koen Kooi <[email protected]> wrote:
> 
> Add a default option to the case statement and remove the duplicates. Also 
> add support for armv8b architectures.
> 
> Signed-off-by: Koen Kooi <[email protected]>
> ---
> meta/recipes-support/libgpg-error/libgpg-error_1.17.bb | 8 ++------
> 1 file changed, 2 insertions(+), 6 deletions(-)
> 
> diff --git a/meta/recipes-support/libgpg-error/libgpg-error_1.17.bb 
> b/meta/recipes-support/libgpg-error/libgpg-error_1.17.bb
> index c905bd1..843b9ae 100644
> --- a/meta/recipes-support/libgpg-error/libgpg-error_1.17.bb
> +++ b/meta/recipes-support/libgpg-error/libgpg-error_1.17.bb
> @@ -28,18 +28,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 ;;

this can move to default case too.

>         armeb)      TUPLE=arm-unknown-linux-gnueabi ;;
>         i586)       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 ;;

this as well.

> +       *)          TUPLE=${TARGET_ARCH}-unknown-linux-gnu ;; 
>       esac
> 
>       cp ${S}/src/syscfg/lock-obj-pub.$TUPLE.h \
> -- 
> 1.9.3
> 
> -- 
> _______________________________________________
> Openembedded-core mailing list
> [email protected]
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to