Skip to contentSkip to conversation

SDK_NAME: Change to include image name and tune arch

PATCH New Elizabeth Flanagan 1 participant 1 message Aug 21, 2013

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 SDK_NAME: Change to include image name and tune arch

[YOCTO #4618]

When building out multiple toolchains with the same target arch you can end up having toolchains with the same name. Making the naming a bit more granular by adding IMAGE_BASENAME and TUNE_PKGARCH to SDK_NAME and removing TARGET_ARCH from SDK_NAME

---
 meta-yocto/conf/distro/poky.conf |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-yocto/conf/distro/poky.conf +1 -1
index 7be7d92..de85a68 100644
@@ -22,7 +22,7 @@ PREFERRED_VERSION_linux-yocto_qemumips ?= "3.8%"
 PREFERRED_VERSION_linux-yocto_qemumips64 ?= "3.8%"
 PREFERRED_VERSION_linux-yocto_qemuppc ?= "3.8%"
 
-SDK_NAME = "${DISTRO}-${TCLIBC}-${SDK_ARCH}-${TARGET_ARCH}"
+SDK_NAME = "${DISTRO}-${TCLIBC}-${SDK_ARCH}-${IMAGE_BASENAME}-${TUNE_PKGARCH}"
 SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}"
 
 EXTRAOPKGCONFIG = "poky-feed-config-opkg"
Signature · 1 line
1.7.9.5