aboutsummaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-11-19 11:59:01 +0000
committerSaul Wold <sgw@linux.intel.com>2010-12-09 09:20:06 -0800
commit47efcfdf79bb859047611c4b17e7ff744bfb4fe5 (patch)
treea1c8395a290d2a98704fc0b76400dd7f2ee97465 /meta
parenta1175b89066dbea7ab6783ac68e9b2ce98b326b0 (diff)
downloadopenembedded-core-contrib-47efcfdf79bb859047611c4b17e7ff744bfb4fe5.tar.gz
poky.conf: move the SDK install into version directories
It's desirable to be able to have SDK toolchains installed from multiple versions of Poky, enable this by installing the toolchains into a subdirectory of /opt/poky/ based on the distro version. Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/distro/poky.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/distro/poky.conf b/meta/conf/distro/poky.conf
index 6fce4b9030..10b31653da 100644
--- a/meta/conf/distro/poky.conf
+++ b/meta/conf/distro/poky.conf
@@ -60,7 +60,7 @@ POKYLIBC ?= "eglibc"
require conf/distro/include/poky-${POKYLIBC}.inc
SDK_NAME = "${DISTRO}-${POKYLIBC}-${SDK_ARCH}-${TARGET_ARCH}"
-SDKPATH = "/opt/${DISTRO}"
+SDKPATH = "/opt/${DISTRO}/${DISTRO_VERSION}"
CACHE = "${TMPDIR}/cache/${POKYMODE}-${POKYLIBC}${@['', '/' + str(bb.data.getVar('MACHINE', d, 1))][bool(bb.data.getVar('MACHINE', d, 1))]}${@['', '/' + str(bb.data.getVar('SDKMACHINE', d, 1))][bool(bb.data.getVar('SDKMACHINE', d, 1))]}"