summaryrefslogtreecommitdiffstats
path: root/scripts/poky-env-internal
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/poky-env-internal')
-rwxr-xr-xscripts/poky-env-internal11
1 files changed, 6 insertions, 5 deletions
diff --git a/scripts/poky-env-internal b/scripts/poky-env-internal
index 489956ebce..78646e3c6e 100755
--- a/scripts/poky-env-internal
+++ b/scripts/poky-env-internal
@@ -23,11 +23,12 @@
23# Also update the locations at the top of conf/local.conf 23# Also update the locations at the top of conf/local.conf
24 24
25OEROOT=`pwd` 25OEROOT=`pwd`
26 26if [ "x$BDIR" = "x" ]; then
27if [ "x$1" = "x" ]; then 27 if [ "x$1" = "x" ]; then
28 BDIR="build" 28 BDIR="build"
29else 29 else
30 BDIR="$1" 30 BDIR="$1"
31 fi
31fi 32fi
32 33
33BBDIR="$OEROOT/bitbake/" 34BBDIR="$OEROOT/bitbake/"