From ff233491914f19404f3a203d24be249dcd2f9bbf Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 20 Nov 2006 08:54:57 +0000 Subject: 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 --- meta/conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta') diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 08ce44d8e..2af2abe24 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" -- cgit v1.2.3