diff options
| -rwxr-xr-x | scripts/oe-setup-builddir | 10 |
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 | ||
| 38 | cd "$BUILDDIR" | 38 | cd "$BUILDDIR" |
| 39 | 39 | ||
| 40 | TEMPLATECONF=${TEMPLATECONF:-meta-yocto/conf} | 40 | if (test -f "$BUILDDIR/conf/templateconf.cfg") then |
| 41 | TEMPLATECONF=$(cat $BUILDDIR/conf/templateconf.cfg) | ||
| 42 | fi | ||
| 43 | |||
| 44 | source $OEROOT/.templateconf | ||
| 45 | |||
| 46 | if ! (test -f "$BUILDDIR/conf/templateconf.cfg") then | ||
| 47 | echo "$TEMPLATECONF" >$BUILDDIR/conf/templateconf.cfg | ||
| 48 | fi | ||
| 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 |
