summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildconf/local.conf16
1 files changed, 14 insertions, 2 deletions
diff --git a/buildconf/local.conf b/buildconf/local.conf
index bcd362d..cd32785 100644
--- a/buildconf/local.conf
+++ b/buildconf/local.conf
@@ -99,8 +99,20 @@ SSTATE_DIR ?= "${TOPDIR}/../sstate-cache"
# 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"
-TI_COMMON_DEPLOY = "${DEPLOY_DIR}"
+#
+# In case of TI k3 a multiconfig is configured with a tmp directory for each
+# multiconfig. In that case all native recipe build deploy identical license
+# files into the deploy directories.
+# If having one deploy directory for all configs this results in build errors
+# for any build executed after the first one.
+# Workaround this by only having the 'images' and 'sdk' subdirectory outside
+# of tmp.
+# We have to do this for all our images in order to be able to build
+# TI and non TI based images in one setup.
+#
+TI_COMMON_DEPLOY = "${TOPDIR}/deploy"
+DEPLOY_DIR_IMAGE = "${TI_COMMON_DEPLOY}/images/${MACHINE}"
+SDK_DEPLOY = "${TI_COMMON_DEPLOY}/sdk"
#
# Package Management configuration