summaryrefslogtreecommitdiffstats
path: root/meta/conf
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 /meta/conf
parent74b64569de856e709ac8c7eb7beca5a369a9473f (diff)
downloadast2050-yocto-poky-ff233491914f19404f3a203d24be249dcd2f9bbf.zip
ast2050-yocto-poky-ff233491914f19404f3a203d24be249dcd2f9bbf.tar.gz
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
Diffstat (limited to 'meta/conf')
-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 08ce44d..2af2abe 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"
OpenPOWER on IntegriCloud