summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-11-20 08:54:57 +0000
committerRichard Purdie <richard@openedhand.com>2006-11-20 08:54:57 +0000
commitff233491914f19404f3a203d24be249dcd2f9bbf (patch)
tree4abe9d0f73e36c468ad233d19f5fb3179bc5bea8
parent74b64569de856e709ac8c7eb7beca5a369a9473f (diff)
downloadopenembedded-core-ff233491914f19404f3a203d24be249dcd2f9bbf.tar.gz
openembedded-core-ff233491914f19404f3a203d24be249dcd2f9bbf.tar.bz2
openembedded-core-ff233491914f19404f3a203d24be249dcd2f9bbf.zip
bitbake.conf: Add MACHINE to the CACHE path if set
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@873 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/conf/bitbake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 08ce44d8e3..2af2abe24d 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -142,7 +142,7 @@ FILESDIR = "${@bb.which(bb.data.getVar('FILESPATH', d, 1), '.')}"
##################################################################
TMPDIR = "${TOPDIR}/tmp"
-CACHE = "${TMPDIR}/cache"
+CACHE = "${TMPDIR}/cache${@['', '/' + str(bb.data.getVar('MACHINE', d, 1))][bool(bb.data.getVar('MACHINE', d, 1))]}"
DL_DIR = "${TMPDIR}/downloads"
CVSDIR = "${DL_DIR}/cvs"
SVNDIR = "${DL_DIR}/svn"