summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/bitbake5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/bitbake b/scripts/bitbake
index dda3b261de..45c869799d 100755
--- a/scripts/bitbake
+++ b/scripts/bitbake
@@ -47,6 +47,11 @@ float_test() {
47# but earlier versions do not 47# but earlier versions do not
48float_test "$TARVERSION > 1.23" && needtar="0" 48float_test "$TARVERSION > 1.23" && needtar="0"
49 49
50if [ "`pwd`" != "$BUILDDIR" ] ; then
51 echo "BitBake must be run from your build directory: $BUILDDIR"
52 exit 1
53fi
54
50buildpseudo="1" 55buildpseudo="1"
51if [ $needpseudo = "1" ] && [ -e "$BUILDDIR/pseudodone" ]; then 56if [ $needpseudo = "1" ] && [ -e "$BUILDDIR/pseudodone" ]; then
52 PSEUDOBINDIR=`cat $BUILDDIR/pseudodone` 57 PSEUDOBINDIR=`cat $BUILDDIR/pseudodone`