diff options
author | Ilya Yanok <yanok@emcraft.com> | 2011-04-05 03:13:45 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-05 22:20:52 +0100 |
commit | 889551a5708d66c6e3e9a3030ad3a25ca5a0daac (patch) | |
tree | 535c87579ea53b2597891fac641e567df88e93bd /meta/classes/native.bbclass | |
parent | f897723207b00b4c9dcdb43107891b7b82ce22f3 (diff) | |
download | poky-889551a5708d66c6e3e9a3030ad3a25ca5a0daac.tar.gz |
native, nativesdk, crosssdk: reset TARGET_FPU
When building one of the native, nativesdk or crosssdk packages TARGET_*
variables' values are no longer related to the target we set via MACHINE
variable, they are now related to the BUILD (native) or SDK (nativesdk,
crosssdk) targets instead. We need to change TARGET_FPU variable
accordingly or some of the recipes (the ones that check for TARGET_FPU
value, most notably gcc and eglibc) might be confused.
It's probably cleaner not to reset TARGET_FPU but to change it to
something like ${BUILD_FPU} (for native) or ${SDK_FPU} (for crosssdk and
nativesdk) but as long as BUILD and SDK are x86 it's safe to just reset
TARGET_FPU.
(From OE-Core rev: 0d4ea5d7486dc35001582bef3ff6ebfad0606bda)
Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/native.bbclass')
-rw-r--r-- | meta/classes/native.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass index cc32cf59a0..d9e67f6908 100644 --- a/meta/classes/native.bbclass +++ b/meta/classes/native.bbclass | |||
@@ -24,6 +24,7 @@ TARGET_OS = "${BUILD_OS}" | |||
24 | TARGET_VENDOR = "${BUILD_VENDOR}" | 24 | TARGET_VENDOR = "${BUILD_VENDOR}" |
25 | TARGET_PREFIX = "${BUILD_PREFIX}" | 25 | TARGET_PREFIX = "${BUILD_PREFIX}" |
26 | TARGET_CC_ARCH = "${BUILD_CC_ARCH}" | 26 | TARGET_CC_ARCH = "${BUILD_CC_ARCH}" |
27 | TARGET_FPU = "" | ||
27 | 28 | ||
28 | HOST_ARCH = "${BUILD_ARCH}" | 29 | HOST_ARCH = "${BUILD_ARCH}" |
29 | HOST_OS = "${BUILD_OS}" | 30 | HOST_OS = "${BUILD_OS}" |