[oe] [oe-commits] org.oe.dev conf/machine/include/tune-ppc405.inc : Move TARGET_FPU = "soft" to the tune file so its

Stelios Koroneos skoroneos at digital-opsis.com
Mon Oct 29 11:17:14 UTC 2007


Although this is getting OT :)

Buidling with hardfloat for a cpu that does not have an fpu means that
1) You need to have a kernel that supports fp emulation (and actually
provides correct fp results)
2) Have it enabled by default in OE
3) Be prepared to pay the processing penalty as every fp instruction is
going to generate an exeption that needs to be handled by the kernel.

IMHO when you tune to a specific cpu then you make a decision what
"features" you want and let it up to the distro/local.conf to change
something if they have a reason to do so.

Stelios S. Koroneos

Digital OPSiS - Embedded Intelligence
http://www.digital-opsis.com


> -----Original Message-----
> From: openembedded-devel-bounces at openembedded.org
> [mailto:openembedded-devel-bounces at openembedded.org]On Behalf Of Koen Kooi
> Sent: Monday, October 29, 2007 11:57 AM
> To: openembedded-devel at openembedded.org
> Subject: Re: [oe] [oe-commits] org.oe.dev
> conf/machine/include/tune-ppc405.inc : Move TARGET_FPU = "soft"
> to the tune file so its
>
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Stelios Koroneos schreef:
> > ok, point taken.
> > It should default to TARGET_FPU = "soft" only if the
> > distro/machine/local.conf don't define it differently
> > i.e TARGET_FPU ?= "soft"
>
> In OE when TARGET_FPU is unset, it means 'hardfloat', so their shouldn't
> be any mention of TARGET_FPU in a machine.conf.
>
> regards,
>
> Koen
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
>
> iD8DBQFHJa6CMkyGM64RGpERAt3gAJkBYy9k1Dl0eAwzVXc8zP7H0elnSACeOhBZ
> j3XmEsMtX8NkgZyI1OT7WiY=
> =2DFG
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>






More information about the Openembedded-devel mailing list