summaryrefslogtreecommitdiff
path: root/meta/conf/distro/poky.conf
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-09-18 10:01:33 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-09-18 10:01:33 +0100
commit1d4f93e8f63395220da652bae055acde11544577 (patch)
treeed0bd7716f87bd755b1bd6b1b73814970386f1e4 /meta/conf/distro/poky.conf
parent8aa3e16e1f88a2327fe1da6cdc4c3e0bd480a815 (diff)
downloadopenembedded-core-1d4f93e8f63395220da652bae055acde11544577.tar.gz
openembedded-core-1d4f93e8f63395220da652bae055acde11544577.tar.bz2
openembedded-core-1d4f93e8f63395220da652bae055acde11544577.zip
Add SDKMACHINE to simplify SDK control and add to CACHE paths to allow environmental variable control
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/conf/distro/poky.conf')
-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 ab74cfc44c..1365037219 100644
--- a/meta/conf/distro/poky.conf
+++ b/meta/conf/distro/poky.conf
@@ -61,7 +61,7 @@ require conf/distro/include/poky-${POKYLIBC}.inc
SDK_NAME = "${DISTRO}-${POKYMODE}-${POKYLIBC}-${SDK_ARCH}-${TARGET_ARCH}"
SDKPATH = "/usr/local/${DISTRO}/${POKYMODE}-${POKYLIBC}"
-CACHE = "${TMPDIR}/cache/${POKYMODE}-${POKYLIBC}${@['', '/' + str(bb.data.getVar('MACHINE', d, 1))][bool(bb.data.getVar('MACHINE', d, 1))]}"
+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))]}"
#
# Preferred providers: