diff options
author | Joshua Lock <josh@linux.intel.com> | 2010-07-19 11:31:40 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-21 15:39:52 +0100 |
commit | 50629b3746c149b22bdd8664842a4c69abb2b989 (patch) | |
tree | f2a78bf127a8bb00947b1f8d4ff6a5d05537bef1 | |
parent | df563f0d28cd0ac25a6042b58e89cc51dedea352 (diff) | |
download | poky-50629b3746c149b22bdd8664842a4c69abb2b989.tar.gz |
bitbake.conf: move PSTAGE_DIR and DL_DIR with build output
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>
-rw-r--r-- | build/conf/local.conf.sample | 10 | ||||
-rw-r--r-- | meta/conf/bitbake.conf | 4 |
2 files changed, 8 insertions, 6 deletions
diff --git a/build/conf/local.conf.sample b/build/conf/local.conf.sample index e58c476a7d..32bd409ecc 100644 --- a/build/conf/local.conf.sample +++ b/build/conf/local.conf.sample | |||
@@ -1,10 +1,12 @@ | |||
1 | # CONF_VERSION is increased each time build/conf/ changes incompatibly | 1 | # CONF_VERSION is increased each time build/conf/ changes incompatibly |
2 | CONF_VERSION = "1" | 2 | CONF_VERSION = "1" |
3 | 3 | ||
4 | # Where to cache the files Poky downloads | 4 | # Uncomment and change to cache the files Poky downloads in an alternative |
5 | DL_DIR ?= "${OEROOT}/sources" | 5 | # location, default it ${TOPDIR}/sources |
6 | # Where to cache Poky's built staging output | 6 | #DL_DIR ?= "${TOPDIR}/sources" |
7 | PSTAGE_DIR ?= "${OEROOT}/pstage" | 7 | # Uncomment and change to cache Poky's built staging output in an alternative |
8 | # location, default ${TOPDIR}/pstage | ||
9 | #PSTAGE_DIR ?= "${TOPDIR}/pstage" | ||
8 | 10 | ||
9 | # Uncomment and set to allow bitbake to execute multiple tasks at once. | 11 | # Uncomment and set to allow bitbake to execute multiple tasks at once. |
10 | # For a quadcore, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would | 12 | # For a quadcore, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would |
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index ab91b932c4..daf978025c 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -626,8 +626,8 @@ require conf/abi_version.conf | |||
626 | # Weak variables (usually to retain backwards compatibility) | 626 | # Weak variables (usually to retain backwards compatibility) |
627 | ################################################################## | 627 | ################################################################## |
628 | 628 | ||
629 | DL_DIR ?= "${TMPDIR}/downloads" | 629 | DL_DIR ?= "${TOPDIR}/downloads" |
630 | PSTAGE_DIR ?= "${TMPDIR}/pstage" | 630 | PSTAGE_DIR ?= "${TOPDIR}/pstage" |
631 | IMAGE_FSTYPES ?= "tar.gz" | 631 | IMAGE_FSTYPES ?= "tar.gz" |
632 | PCMCIA_MANAGER ?= "pcmcia-cs" | 632 | PCMCIA_MANAGER ?= "pcmcia-cs" |
633 | DEFAULT_TASK_PROVIDER ?= "task-base" | 633 | DEFAULT_TASK_PROVIDER ?= "task-base" |