summaryrefslogtreecommitdiffstats
path: root/meta/classes/nativesdk.bbclass
diff options
context:
space:
mode:
authorIlya Yanok <yanok@emcraft.com>2011-04-05 01:13:45 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-05 21:20:52 (GMT)
commit889551a5708d66c6e3e9a3030ad3a25ca5a0daac (patch)
tree535c87579ea53b2597891fac641e567df88e93bd /meta/classes/nativesdk.bbclass
parentf897723207b00b4c9dcdb43107891b7b82ce22f3 (diff)
downloadpoky-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/nativesdk.bbclass')
-rw-r--r--meta/classes/nativesdk.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass
index 587a907..cd34a79 100644
--- a/meta/classes/nativesdk.bbclass
+++ b/meta/classes/nativesdk.bbclass
@@ -34,6 +34,7 @@ TARGET_VENDOR = "${SDK_VENDOR}"
34TARGET_OS = "${SDK_OS}" 34TARGET_OS = "${SDK_OS}"
35TARGET_PREFIX = "${SDK_PREFIX}" 35TARGET_PREFIX = "${SDK_PREFIX}"
36TARGET_CC_ARCH = "${SDK_CC_ARCH}" 36TARGET_CC_ARCH = "${SDK_CC_ARCH}"
37TARGET_FPU = ""
37 38
38CPPFLAGS = "${BUILDSDK_CPPFLAGS}" 39CPPFLAGS = "${BUILDSDK_CPPFLAGS}"
39CFLAGS = "${BUILDSDK_CFLAGS}" 40CFLAGS = "${BUILDSDK_CFLAGS}"