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
This commit is contained in:
Richard Purdie 2006-11-20 08:54:57 +00:00
parent 74b64569de
commit ff23349191
1 changed files with 1 additions and 1 deletions

View File

@ -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"