Skip to contentSkip to conversation

poky.conf: Change SDK_NAME to include machine

PATCH In review Elizabeth Flanagan 1 participant 2 messages Jul 22, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 poky.conf: Change SDK_NAME to include machine

From: Beth Flanagan <[email protected]>

When building for multiple arches, you can tromp all over the toolchain that lives in the deploy directory as the naming is not granular enough.

This patch adds MACHINE to the SDK_NAME so that:

poky-eglibc-arm-toolchain-gmae-1.4+snapshot-20130717.sh

becomes:

poky-eglibc-qemuarm-x86_64-arm-toolchain-gmae-1.4+snapshot-20130717.sh

---
 meta-yocto/conf/distro/poky.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-yocto/conf/distro/poky.conf +1 -1
index 7be7d92..4005c1a 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}-${MACHINE}-${SDK_ARCH}-${TARGET_ARCH}"
 SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}"
 
 EXTRAOPKGCONFIG = "poky-feed-config-opkg"
Signature · 1 line
1.8.1.2
#1 lore raw

Sorry for the multiple emails all.

-b

Quoted 36 lines · Elizabeth Flanagan

From: Beth Flanagan <[email protected]>

When building for multiple arches, you can tromp all over the toolchain that lives in the deploy directory as the naming is not granular enough.

This patch adds MACHINE to the SDK_NAME so that:

poky-eglibc-arm-toolchain-gmae-1.4+snapshot-20130717.sh

becomes:

poky-eglibc-qemuarm-x86_64-arm-toolchain-gmae-1.4+snapshot-20130717.sh

---
 meta-yocto/conf/distro/poky.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-yocto/conf/distro/poky.conf +1 -2
index 7be7d92..4005c1a 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}-${MACHINE}-${SDK_ARCH}-${TARGET_ARCH}"
 SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}"
 
 EXTRAOPKGCONFIG = "poky-feed-config-opkg"
--

1.8.1.2

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Signature · 3 lines
Elizabeth Flanagan
Yocto Project
Build and Release