From 90040ce7b5bcba842f3d1eca92a2dc150fd296fd Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 22 Mar 2010 18:11:41 +0000 Subject: Switch to bblayers configuration Signed-off-by: Richard Purdie --- scripts/poky-env-internal | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'scripts/poky-env-internal') 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 -- cgit v1.2.3