bitbake.conf: Allow DL_DIR to be set by the environment
authorRichard Purdie <richard@openedhand.com>
Thu, 23 Nov 2006 12:12:14 +0000 (12:12 +0000)
committerRichard Purdie <richard@openedhand.com>
Thu, 23 Nov 2006 12:12:14 +0000 (12:12 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@946 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/conf/bitbake.conf

index e5a8b76..21d6880 100644 (file)
@@ -143,7 +143,7 @@ FILESDIR = "${@bb.which(bb.data.getVar('FILESPATH', d, 1), '.')}"
 
 TMPDIR = "${TOPDIR}/tmp"
 CACHE = "${TMPDIR}/cache${@['', '/' + str(bb.data.getVar('MACHINE', d, 1))][bool(bb.data.getVar('MACHINE', d, 1))]}"
-DL_DIR = "${TMPDIR}/downloads"
+DL_DIR ?= "${TMPDIR}/downloads"
 CVSDIR = "${DL_DIR}/cvs"
 SVNDIR = "${DL_DIR}/svn"
 GITDIR = "${DL_DIR}/git"