From: Richard Purdie Date: Tue, 17 Jul 2007 13:29:36 +0000 (+0000) Subject: poky-env-internal: Allow user to overide build directory X-Git-Tag: 2011-1~11219 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=854a97c641cd29940c9ae7874dbd46cc57f38d17;p=openembedded-core.git poky-env-internal: Allow user to overide build directory git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2195 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- diff --git a/scripts/poky-env-internal b/scripts/poky-env-internal index 1b231bcdf4..ccbd2088ae 100755 --- a/scripts/poky-env-internal +++ b/scripts/poky-env-internal @@ -24,9 +24,13 @@ OEROOT=`pwd` +if [ "x$1" = "x" ]; then + BDIR="build" +fi + BBDIR="$OEROOT/bitbake/" PKGDIR="$OEROOT/meta/" -BUILDDIR="$OEROOT/build/" +BUILDDIR="$OEROOT/$BDIR/" MSG='' BUILD_ARCH=`uname -m`