]> code.ossystems Code Review - openembedded-core.git/commitdiff
poky-env-internal: Allow user to overide build directory
authorRichard Purdie <richard@openedhand.com>
Tue, 17 Jul 2007 13:29:36 +0000 (13:29 +0000)
committerRichard Purdie <richard@openedhand.com>
Tue, 17 Jul 2007 13:29:36 +0000 (13:29 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2195 311d38ba-8fff-0310-9ca6-ca027cbcb966

scripts/poky-env-internal

index 1b231bcdf4d2fbceb570309159e9ed8b4384f6e8..ccbd2088aee662c59d1e71363607da1c4acfaeb0 100755 (executable)
 
 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`