diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-12 16:25:47 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-17 10:53:57 +0100 |
commit | d71a35d4f69d3ba0e713fece595ba84c8af5ee4d (patch) | |
tree | 6ee2c84ffbae8659683a3bdf8d79d9d1e60c1533 /meta/classes/nativesdk.bbclass | |
parent | a09d55fbfdfa7eccf1f8d3617fd103d55053c514 (diff) | |
download | poky-d71a35d4f69d3ba0e713fece595ba84c8af5ee4d.tar.gz |
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>
Diffstat (limited to 'meta/classes/nativesdk.bbclass')
-rw-r--r-- | meta/classes/nativesdk.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass index a58fce2040..7deaafc670 100644 --- a/meta/classes/nativesdk.bbclass +++ b/meta/classes/nativesdk.bbclass | |||
@@ -36,6 +36,7 @@ TARGET_CC_ARCH = "${SDK_CC_ARCH}" | |||
36 | TARGET_LD_ARCH = "${SDK_LD_ARCH}" | 36 | TARGET_LD_ARCH = "${SDK_LD_ARCH}" |
37 | TARGET_AS_ARCH = "${SDK_AS_ARCH}" | 37 | TARGET_AS_ARCH = "${SDK_AS_ARCH}" |
38 | TARGET_FPU = "" | 38 | TARGET_FPU = "" |
39 | EXTRA_OECONF_FPU = "" | ||
39 | 40 | ||
40 | CPPFLAGS = "${BUILDSDK_CPPFLAGS}" | 41 | CPPFLAGS = "${BUILDSDK_CPPFLAGS}" |
41 | CFLAGS = "${BUILDSDK_CFLAGS}" | 42 | CFLAGS = "${BUILDSDK_CFLAGS}" |