summaryrefslogtreecommitdiff
path: root/scripts/poky-env-internal
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/poky-env-internal')
-rwxr-xr-xscripts/poky-env-internal8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/poky-env-internal b/scripts/poky-env-internal
index 4bfcf63c5..b931e2932 100755
--- a/scripts/poky-env-internal
+++ b/scripts/poky-env-internal
@@ -93,11 +93,17 @@ fi
if [ "x" = "x$POKYLOCALCONF" ]; then
POKYLOCALCONF="$BUILDDIR/conf/local.conf.sample"
fi
-
if ! (test -r "$BUILDDIR/conf/local.conf"); then
cp -f $POKYLOCALCONF $BUILDDIR/conf/local.conf
fi
+if [ "x" = "x$POKYLAYERCONF" ]; then
+ POKYLAYERCONF="$BUILDDIR/conf/bblayers.conf.sample"
+fi
+if ! (test -r "$BUILDDIR/conf/bblayers.conf"); then
+ cp -f $POKYLAYERCONF $BUILDDIR/conf/bblayers.conf
+fi
+
export BBPATH OEROOT BUILD_SYS BUILDDIR
# Kill off the TERMINFO variable, as glibc will grab its contents in its 'make