]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake.conf: move PSTAGE_DIR and DL_DIR with build output
authorJoshua Lock <josh@linux.intel.com>
Mon, 19 Jul 2010 10:31:40 +0000 (11:31 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Wed, 21 Jul 2010 14:39:52 +0000 (15:39 +0100)
Having PSTAGE_DIR be a top level directory by default doesn't make sense, move
it to be a child of the build directory so that it lives with all other built
output. Also move DL_DIR to a child of the build directory for the use case of
an unwriteable $OEROOT.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
build/conf/local.conf.sample
meta/conf/bitbake.conf

index e58c476a7dfb237b497ce464400b9fe5958f62c8..32bd409ecc2e861d73bc89eb56aef7fb1ed487e8 100644 (file)
@@ -1,10 +1,12 @@
 # CONF_VERSION is increased each time build/conf/ changes incompatibly
 CONF_VERSION = "1"
 
-# Where to cache the files Poky downloads
-DL_DIR ?= "${OEROOT}/sources"
-# Where to cache Poky's built staging output
-PSTAGE_DIR ?= "${OEROOT}/pstage"
+# Uncomment and change to cache the files Poky downloads in an alternative
+# location, default it ${TOPDIR}/sources
+#DL_DIR ?= "${TOPDIR}/sources"
+# Uncomment and change to cache Poky's built staging output in an alternative
+# location, default ${TOPDIR}/pstage
+#PSTAGE_DIR ?= "${TOPDIR}/pstage"
 
 # Uncomment and set to allow bitbake to execute multiple tasks at once.
 # For a quadcore, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would
index ab91b932c41b195c1b7e730016cafad850361ead..daf978025c26945c4a14bf0311d25345808065c2 100644 (file)
@@ -626,8 +626,8 @@ require conf/abi_version.conf
 # Weak variables (usually to retain backwards compatibility)
 ##################################################################
 
-DL_DIR ?= "${TMPDIR}/downloads"
-PSTAGE_DIR ?= "${TMPDIR}/pstage"
+DL_DIR ?= "${TOPDIR}/downloads"
+PSTAGE_DIR ?= "${TOPDIR}/pstage"
 IMAGE_FSTYPES ?= "tar.gz"
 PCMCIA_MANAGER ?= "pcmcia-cs"
 DEFAULT_TASK_PROVIDER ?= "task-base"