angstrom-core-tweaks.inc: Fix SDK build failures since SDK_NAME is used in paths

SDK_NAME is used in sysroot paths and  BASE_PACKAGE_ARCH
is not same for crossdk and nativesdk recipes so gcc-crosssdk
fails to find the sysroot we use FEED_ARCH instead this
gives the subarch like armv7a to differentialte multimachine
SDK builds.

We remove TARGET_OS since same information is proviced by TCLIBC

We remove DISTRO_VERSION since its too much information of little use

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Khem Raj
2011-04-30 12:34:20 -07:00
committed by Koen Kooi
parent f9fdb3c393
commit e5bf14a545

View File

@@ -50,5 +50,5 @@ IMAGE_INSTALL += "${IMAGE_BOOT}"
# SDK stuff
SDK_NAME = "${DISTRO}-${DISTRO_VERSION}-${SDK_ARCH}-${BASE_PACKAGE_ARCH}-${TARGET_OS}-${TCLIBC}"
SDK_NAME = "${DISTRO}-${TCLIBC}-${SDK_ARCH}-${FEED_ARCH}"
TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain"