summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-02-14 11:54:36 +0000
committerRichard Purdie <richard@openedhand.com>2008-02-14 11:54:36 +0000
commitbad1fc400b641b175a2ff9c67d2fc3aaed3573c6 (patch)
tree453e32156920eaf42f3dbfd7f1d5a498618fd017 /meta
parenteb49c160d4e0d74d5df7d161fb6e5ac1d81d5c4a (diff)
downloadopenembedded-core-bad1fc400b641b175a2ff9c67d2fc3aaed3573c6.tar.gz
openembedded-core-bad1fc400b641b175a2ff9c67d2fc3aaed3573c6.tar.bz2
openembedded-core-bad1fc400b641b175a2ff9c67d2fc3aaed3573c6.zip
poky.conf: Add POKYMODE and POKYLIBC to CACHE path
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3799 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/distro/poky.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/conf/distro/poky.conf b/meta/conf/distro/poky.conf
index 3c58031e5e..b6a343bdc4 100644
--- a/meta/conf/distro/poky.conf
+++ b/meta/conf/distro/poky.conf
@@ -48,6 +48,8 @@ require conf/distro/include/poky-${POKYLIBC}.inc
SDK_NAME = "${DISTRO}-${POKYMODE}-${POKYLIBC}-${HOST_ARCH}-${TARGET_ARCH}"
SDK_PREFIX = "/usr/local/${DISTRO}/${POKYMODE}-${POKYLIBC}/${TARGET_ARCH}"
+CACHE = "${TMPDIR}/cache/${POKYMODE}-${POKYLIBC}${@['', '/' + str(bb.data.getVar('MACHINE', d, 1))][bool(bb.data.getVar('MACHINE', d, 1))]}"
+
#
# Preferred providers:
#