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>
This commit is contained in:
parent
df563f0d28
commit
50629b3746
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue