diff options
-rw-r--r-- | build/conf/local.conf.sample (renamed from build/conf/local.conf) | 0 | ||||
-rwxr-xr-x | poky-init-build-env | 4 |
2 files changed, 4 insertions, 0 deletions
diff --git a/build/conf/local.conf b/build/conf/local.conf.sample index 83bd007f5..83bd007f5 100644 --- a/build/conf/local.conf +++ b/build/conf/local.conf.sample diff --git a/poky-init-build-env b/poky-init-build-env index b8ddc64dc..c2f2c0440 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 |