summaryrefslogtreecommitdiffstats
path: root/oe-init-build-env
diff options
context:
space:
mode:
Diffstat (limited to 'oe-init-build-env')
-rwxr-xr-xoe-init-build-env9
1 files changed, 9 insertions, 0 deletions
diff --git a/oe-init-build-env b/oe-init-build-env
index de9692fe44..8ef32f3d55 100755
--- a/oe-init-build-env
+++ b/oe-init-build-env
@@ -47,3 +47,12 @@ else
47 unset BBPATH 47 unset BBPATH
48fi 48fi
49 49
50# Shutdown any bitbake server if the BBSERVER variable is not set
51if [ -z "$BBSERVER" ] && [ -f bitbake.lock ] ; then
52 grep ":" bitbake.lock > /dev/null && BBSERVER=`cat bitbake.lock` bitbake --status-only
53 if [ $? = 0 ] ; then
54 echo "Shutting down bitbake memory resident server with bitbake -m"
55 BBSERVER=`cat bitbake.lock` bitbake -m
56 fi
57fi
58