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

Adrian Alonso aalonso00 at gmail.com
Wed May 30 19:38:50 UTC 2012


Hi Elvis,

the tune file its ok, but it should be better if you rather provide a
fix for the tune-ppc440.inc
that is part of meta-xilinx layer;

Regards
Adrian Alonso

On Wed, May 30, 2012 at 2:24 PM, Khem Raj <raj.khem at gmail.com> wrote:
> On (30/05/12 20:55), Elvis Dowson wrote:
>> This commit adds support for the PowerPC 440 processor for the Xilinx
>> Virtex-5 FXT FPGA.
>>
>
>
> this looks ok to me
>
>
>> Signed-off-by: Elvis Dowson <elvis.dowson at gmail.com>
>> ---
>>  meta/conf/machine/include/tune-ppc440.inc |   14 ++++++++++++++
>>  1 file changed, 14 insertions(+)
>>  create mode 100644 meta/conf/machine/include/tune-ppc440.inc
>>
>> diff --git a/meta/conf/machine/include/tune-ppc440.inc b/meta/conf/machine/include/tune-ppc440.inc
>> new file mode 100644
>> index 0000000..394364d
>> --- /dev/null
>> +++ b/meta/conf/machine/include/tune-ppc440.inc
>> @@ -0,0 +1,14 @@
>> +DEFAULTTUNE ?= "ppc440"
>> +
>> +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)}"
>> +
>> +AVAILTUNES += "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"
>> +
>> +# 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
>>
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
> --
> -Khem
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



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




More information about the Openembedded-devel mailing list