From 48d9b9079a959aee05ab9861c4cc66885fecff05 Mon Sep 17 00:00:00 2001 From: Alex Gonzalez Date: Fri, 7 Jun 2013 17:41:39 +0200 Subject: [PATCH] build.sh: Add a platform specific path to TEMPLATECONF If TEMPLATECONF is set in the environment, we will add the platform to the path so that it's possible to use specific template configurations for different platforms in the build server. https://jira.digi.com/browse/DEL-497 Signed-off-by: Alex Gonzalez --- sdk/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk/build.sh b/sdk/build.sh index e6fddde43..c46c1d1d3 100755 --- a/sdk/build.sh +++ b/sdk/build.sh @@ -133,6 +133,7 @@ for platform in ${DY_PLATFORMS}; do # Configure and build the project in a sub-shell to avoid # mixing environments between different platform's projects ( + export TEMPLATECONF="${TEMPLATECONF:+${TEMPLATECONF}/${platform}}" . ${YOCTO_INST_DIR}/mkproject.sh -p ${platform} ${_this_var_arg} # Set a common DL_DIR and SSTATE_DIR for all platforms sed -i -e "/^#DL_DIR ?=/cDL_DIR ?= \"${YOCTO_PROJ_DIR}/downloads\"" \