diff options
author | Richard Purdie <richard@openedhand.com> | 2007-07-17 13:29:36 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-07-17 13:29:36 +0000 |
commit | 854a97c641cd29940c9ae7874dbd46cc57f38d17 (patch) | |
tree | bdd9c09c8a2a5f60fe141b97a57256c9de3e4381 /scripts/poky-env-internal | |
parent | 21b7fabf6a3cfb92c9fb89e2df8791778d46fb46 (diff) | |
download | poky-854a97c641cd29940c9ae7874dbd46cc57f38d17.tar.gz |
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/poky-env-internal')
-rwxr-xr-x | scripts/poky-env-internal | 6 |
1 files changed, 5 insertions, 1 deletions
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 @@ | |||
24 | 24 | ||
25 | OEROOT=`pwd` | 25 | OEROOT=`pwd` |
26 | 26 | ||
27 | if [ "x$1" = "x" ]; then | ||
28 | BDIR="build" | ||
29 | fi | ||
30 | |||
27 | BBDIR="$OEROOT/bitbake/" | 31 | BBDIR="$OEROOT/bitbake/" |
28 | PKGDIR="$OEROOT/meta/" | 32 | PKGDIR="$OEROOT/meta/" |
29 | BUILDDIR="$OEROOT/build/" | 33 | BUILDDIR="$OEROOT/$BDIR/" |
30 | MSG='' | 34 | MSG='' |
31 | 35 | ||
32 | BUILD_ARCH=`uname -m` | 36 | BUILD_ARCH=`uname -m` |