summaryrefslogtreecommitdiffstats
path: root/scripts/oe-setup-builddir
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/oe-setup-builddir')
-rwxr-xr-xscripts/oe-setup-builddir10
1 files changed, 9 insertions, 1 deletions
diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir
index adb55c7c38..e4356f1551 100755
--- a/scripts/oe-setup-builddir
+++ b/scripts/oe-setup-builddir
@@ -37,7 +37,15 @@ fi
37 37
38cd "$BUILDDIR" 38cd "$BUILDDIR"
39 39
40TEMPLATECONF=${TEMPLATECONF:-meta-yocto/conf} 40if (test -f "$BUILDDIR/conf/templateconf.cfg") then
41 TEMPLATECONF=$(cat $BUILDDIR/conf/templateconf.cfg)
42fi
43
44source $OEROOT/.templateconf
45
46if ! (test -f "$BUILDDIR/conf/templateconf.cfg") then
47 echo "$TEMPLATECONF" >$BUILDDIR/conf/templateconf.cfg
48fi
41 49
42# 50#
43# $TEMPLATECONF can point to a directory for the template local.conf & bblayers.conf 51# $TEMPLATECONF can point to a directory for the template local.conf & bblayers.conf