[OE-core] [PATCH] tune/arch-powerpc64: keep insync with arch-powerpc.inc

Richard Purdie richard.purdie at linuxfoundation.org
Tue Aug 2 20:39:08 UTC 2011


On Tue, 2011-08-02 at 14:18 -0500, Kumar Gala wrote:
> * Add DEFAULTTUNE setting
> * Sync TUNE_PKGARCH with:
> 	commit 20f285728219c1efcc23d8e861902c212893c68d
> 	Author: Richard Purdie <richard.purdie at linuxfoundation.org>
> 	Date:   Tue Aug 2 12:40:06 2011 +0100
> 
> 	    tune/ppc: Fix various TUNE_PKGARCH issues

Quick question, are all ppc64 cores ppc32 capable or not?

Cheers,

Richard

> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---
>  .../machine/include/powerpc/arch-powerpc64.inc     |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
> 
> diff --git a/meta/conf/machine/include/powerpc/arch-powerpc64.inc b/meta/conf/machine/include/powerpc/arch-powerpc64.inc
> index a965d59..daad355 100644
> --- a/meta/conf/machine/include/powerpc/arch-powerpc64.inc
> +++ b/meta/conf/machine/include/powerpc/arch-powerpc64.inc
> @@ -1,8 +1,13 @@
> +DEFAULTTUNE ?= "powerpc64"
> +
>  TUNEVALID[m64] = "Power ELF64 standard ABI"
>  TUNE_CONFLICTS[m64] = "m32 nf"
>  TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "m64", "-m64", "", d)}"
>  TUNE_ARCH .= "${@bb.utils.contains("TUNE_FEATURES", [ "m64" ], "powerpc64", "", d)}"
>  
> +PPCPKGARCH = "${TUNE_ARCH}"
> +TUNE_PKGARCH ?= "${PPCPKGARCH}"
> +
>  AVAILTUNES += "powerpc64"
>  TUNE_FEATURES_tune-powerpc64 ?= "m64 fpu-hard"
>  BASE_LIB_tune-powerpc64 = "lib64"






More information about the Openembedded-core mailing list