summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf/bitbake.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index a4483bcaeb..68301bc478 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -284,7 +284,9 @@ STAGING_DIR_TARGET = "${STAGING_DIR}/${BASEPKG_TARGET_SYS}"
STAGING_DIR_SDK = "${STAGING_DIR}/${SDK_SYS}"
-DEPLOY_DIR = "${TMPDIR}/deploy"
+# Setting DEPLOY_DIR outside of TMPDIR is helpful, when you are using
+# packaged staging and/or multimachine.
+DEPLOY_DIR ?= "${TMPDIR}/deploy"
DEPLOY_DIR_TAR = "${DEPLOY_DIR}/tar"
DEPLOY_DIR_IPK = "${DEPLOY_DIR}/ipk"
DEPLOY_DIR_RPM = "${DEPLOY_DIR}/rpm"