summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
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`