summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2019-03-07 16:20:03 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2019-03-07 16:33:02 +0100
commit2fea93bdaac60b2231483924a5ab2261ce843d5b (patch)
tree88596a180dc93c4ebf7608c6bbdb8c52ba6847ee
parentcb3a89c37da2892fbc812a858a1f587c3737b7a0 (diff)
local.conf: change deploy/download/sstate directories
Move the DEPLOY_DIR directory to be inside the build directory. Using the same layer metadata to create two independent build directories (e.g. for two builds of the same machine but with different kernels) now has the deploy directory name no longer clash. Move DL_DIR and SSTATE_DIR to the root of the oe installation. This then automatically shares downloads and sstate between different build directories. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r--buildconf/local.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/buildconf/local.conf b/buildconf/local.conf
index 1ccf0f1..0eebbd9 100644
--- a/buildconf/local.conf
+++ b/buildconf/local.conf
@@ -69,7 +69,7 @@ MACHINE ?= "colibri-imx6"
#
# The default is a downloads directory under TOPDIR which is the build directory.
#
-DL_DIR ?= "${TOPDIR}/downloads"
+DL_DIR ?= "${TOPDIR}/../downloads"
#
# Where to place shared-state files
@@ -85,7 +85,7 @@ DL_DIR ?= "${TOPDIR}/downloads"
#
# The default is a sstate-cache directory under TOPDIR.
#
-#SSTATE_DIR ?= "${TOPDIR}/sstate-cache"
+SSTATE_DIR ?= "${TOPDIR}/../sstate-cache"
#
# Where to place the build output
@@ -105,7 +105,7 @@ DL_DIR ?= "${TOPDIR}/downloads"
# This places the build output in parallel to build and layers thus
# if you have several build directories you need to adjust deploy
# to something unique, e.g. "${TOPDIR}/../deploy_fb" "${TOPDIR}/../deploy_x11"
-DEPLOY_DIR = "${TOPDIR}/../deploy"
+DEPLOY_DIR = "${TOPDIR}/deploy"
#
# Package Management configuration