crosssdk/nativesdk: Ensure EXTRA_OECONF_FPU is unset
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 12 Jul 2012 15:25:47 +0000 (16:25 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 17 Jul 2012 09:53:57 +0000 (10:53 +0100)
commit68de7e3dc451513ce6a9456eed8ab70fb7b56aaf
tree6bc9cfaa528d289482c4b95186145632e009e692
parent586a175bcaaebe6cf4d563ed56f89361cdcdf17a
crosssdk/nativesdk: Ensure EXTRA_OECONF_FPU is unset

If EXTRA_OECONF_FPU is left set, certain ARM variables related to hard-float
can get pulled in and trigger rebuilds of the crosssdk code. The best solution
is to simply force the variable to a known correct value for the SDK targets
currently supported in the same way as TARGET_FPU.

There is some slight rearrangement of the gcc code to ensure the variable is
always used to call the fpu function.

(From OE-Core rev: 410990445ada8cdcfaec4e6fa5791cee9a5b8983)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/crosssdk.bbclass
meta/classes/nativesdk.bbclass
meta/recipes-devtools/gcc/gcc-cross-initial.inc
meta/recipes-devtools/gcc/gcc-cross-intermediate.inc