aboutsummaryrefslogtreecommitdiffstats
path: root/poky-init-build-env
diff options
context:
space:
mode:
Diffstat (limited to 'poky-init-build-env')
-rwxr-xr-xpoky-init-build-env4
1 files changed, 4 insertions, 0 deletions
diff --git a/poky-init-build-env b/poky-init-build-env
index b8ddc64dc5..c2f2c04406 100755
--- a/poky-init-build-env
+++ b/poky-init-build-env
@@ -49,6 +49,10 @@ if ! (test -d $BBDIR && test -d $PKGDIR && test -d $BUILDDIR); then
exit 1
fi
+if ! (test -r $BUILDDIR/conf/local.conf); then
+ cp -f $BUILDDIR/conf/local.conf.sample $BUILDDIR/conf/local.conf
+fi
+
BBPATH=$BBDIR
if test x"$BBDIR" != x"$PKGDIR"; then
BBPATH=$PKGDIR:$BBPATH