[poky] [PATCH 03/25] gcc: crosssdk unset TARGET_FPU

Ilya Yanok yanok at emcraft.com
Thu Jan 20 16:43:09 PST 2011


Hi Adrian, Saul,

On 20.01.2011 20:53, Adrian Alonso wrote:
> But I'm not sure if un-setting TARGET_FPU on crosssdk.bbclass would 
> affect
> other targets.

It should not. crosssdk class rewrites all TARGET_* variables except 
TARGET_FPU which may lead to inconsistent set of TARGET_* variables 
(like TARGET_ARCH = "x86_64" and TARGET_FPU = "soft"). This in turn 
confuses some recipes (like gcc).

Actually, we need to add the same thing to the nativesdk class (and, 
probably, native too) for the same reason.
Note that resetting TARGET_FPU in the nativesdk.bbclass solved the 
decimal-float issue (which turned to be the problem with eglibc-nativesdk).

I'll post my patch soon, but it still needs more testing.

Regards, Ilya.




More information about the poky mailing list