summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-07-17 13:29:36 +0000
committerRichard Purdie <richard@openedhand.com>2007-07-17 13:29:36 +0000
commit854a97c641cd29940c9ae7874dbd46cc57f38d17 (patch)
treebdd9c09c8a2a5f60fe141b97a57256c9de3e4381 /scripts
parent21b7fabf6a3cfb92c9fb89e2df8791778d46fb46 (diff)
downloadopenembedded-core-854a97c641cd29940c9ae7874dbd46cc57f38d17.tar.gz
openembedded-core-854a97c641cd29940c9ae7874dbd46cc57f38d17.tar.bz2
openembedded-core-854a97c641cd29940c9ae7874dbd46cc57f38d17.tar.xz
openembedded-core-854a97c641cd29940c9ae7874dbd46cc57f38d17.zip
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
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/poky-env-internal6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/poky-env-internal b/scripts/poky-env-internal
index 1b231bcdf..ccbd2088a 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`