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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user