[oe] [meta-xilinx] tune-ppc440.inc: Update support for the PowerPC 440 processor in the Xilinx Virtex-5 FXT FPGA.

Adrian Alonso aalonso00 at gmail.com
Thu May 31 15:15:26 UTC 2012


Hi Elvis,

Please update your meta-xilinx repo,
commit: 04633e44b5401288ceee2d36eb2413dfa5308a54
does something similar, but I fail to use "powerpc-nf"

I would accept a new patch for that :)

Regards
Adrian Alonso

On Thu, May 31, 2012 at 1:23 AM, Elvis Dowson <elvis.dowson at gmail.com> wrote:
> This commit updates support for the PowerPC 440 processor in the Xilinx
> Virtex-5 FXT FPGA.
>
> Signed-off-by: Elvis Dowson <elvis.dowson at gmail.com>
> ---
>  conf/machine/include/tune-ppc440.inc |   10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/conf/machine/include/tune-ppc440.inc b/conf/machine/include/tune-ppc440.inc
> index f77f628..394364d 100644
> --- a/conf/machine/include/tune-ppc440.inc
> +++ b/conf/machine/include/tune-ppc440.inc
> @@ -4,11 +4,11 @@ require conf/machine/include/powerpc/arch-powerpc.inc
>
>  TUNEVALID[ppc440] = "Enable ppc440 specific processor optimizations"
>  TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppc440", "-mcpu=440", "", d)}"
> -TUNE_PKGARCH = "${@bb.utils.contains("TUNE_FEATURES", "ppc440", "ppc440", "${PPCPKGARCH}", d)}"
>
> -TARGET_FPU = "soft"
>  AVAILTUNES += "ppc440"
> -TUNE_FEATURES_tune-ppc440 = "m32 ppc440"
> -PACKAGE_EXTRA_ARCHS_tune-ppc440 = "ppc440"
> +TUNE_FEATURES_tune-ppc440 = "m32 fpu-soft ppc440"
> +TUNE_PKGARCH_tune-ppc440 = "ppc440"
> +PACKAGE_EXTRA_ARCHS_tune-ppc440 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc-nf} ppc440"
>
> -#MACHINEOVERRIDES .= "ppc440"
> +# glibc configure options to get 440 specific library (for sqrt)
> +GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppc440", "-with-cpu=440", "", d)}"
> --
> 1.7.9.5
>



-- 
Saludos
Adrian Alonso
http://aalonso.wordpress.com




More information about the Openembedded-devel mailing list