]> code.ossystems Code Review - openembedded-core.git/commit
Make ppce300c3 tune hard-float by default
authorMats Kärrman <Mats.Karrman@tritech.se>
Tue, 1 Apr 2014 16:20:34 +0000 (16:20 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 Apr 2014 22:38:54 +0000 (23:38 +0100)
commit9d502ca8551fd461f869395b1b7e62d6dcf59a84
treea8b84429e13d306a930135ab733fc777a4c2bec2
parent263e278be61093509110267596fdd75c225bf06a
Make ppce300c3 tune hard-float by default

The tuning file for PowerPC e300c3 is soft-float. In OE-classic it was hard-
float and it should be as the c3 has an fpu. I have modified the tuning file
to include both a hard-float version (using the existing ppce300c3 name) and
an optional soft-float version (called ppce300c3-nf).

The following patch also passes a "--with-cpu=e300c3" argument to GLIBC.
For this to have any effect the sqrt/sqrtf implementations added by the
"glibc.fix_sqrt2.patch" are required and also an additional "Implies" file
(added to the mentioned patch as a separate patch for eglibc_2.19).

Tested with eglibc 2.19 on PowerPC MPC5125.

Signed-off-by: Mats Karrman <mats.karrman@tritech.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/machine/include/tune-ppce300c3.inc