From 889551a5708d66c6e3e9a3030ad3a25ca5a0daac Mon Sep 17 00:00:00 2001 From: Ilya Yanok Date: Tue, 5 Apr 2011 03:13:45 +0200 Subject: 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 Signed-off-by: Richard Purdie --- meta/classes/native.bbclass | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/classes/native.bbclass') 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}" TARGET_VENDOR = "${BUILD_VENDOR}" TARGET_PREFIX = "${BUILD_PREFIX}" TARGET_CC_ARCH = "${BUILD_CC_ARCH}" +TARGET_FPU = "" HOST_ARCH = "${BUILD_ARCH}" HOST_OS = "${BUILD_OS}" -- cgit v1.2.3-54-g00ecf