[OE-core] [PATCH] libgpg-error 1.17: simplify tupple handling and add armv8b support
Paul Eggleton
paul.eggleton at linux.intel.com
Wed Jan 14 23:37:15 UTC 2015
On Wednesday 14 January 2015 09:24:46 Khem Raj wrote:
> > On Jan 14, 2015, at 3:32 AM, Koen Kooi <koen.kooi at linaro.org> wrote:
> >
> > 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 at linaro.org>
> > ---
> > 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.
Only assuming s/pc/unknown/ is OK - is it?
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the Openembedded-core
mailing list