summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbitbake/bin/toaster14
1 files changed, 2 insertions, 12 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
index 37a11165d2..fd6cabf378 100755
--- a/bitbake/bin/toaster
+++ b/bitbake/bin/toaster
@@ -151,15 +151,7 @@ fi
151 151
152unset OE_ROOT 152unset OE_ROOT
153 153
154# this defines the dir toaster will use for 154
155# 1) clones of layers (in _toaster_clones )
156# 2) the build dir (in build)
157# 3) the sqlite db if that is being used.
158# 4) pid's we need to clean up on exit/shutdown
159# note: for future. in order to make this an arbitrary directory, we need to
160# make sure that the toaster.sqlite file doesn't default to `pwd` like it currently does.
161export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE TOASTER_DIR"
162export TOASTER_DIR=`pwd`
163 155
164WEBSERVER=1 156WEBSERVER=1
165ADDR_PORT="localhost:8000" 157ADDR_PORT="localhost:8000"
@@ -215,10 +207,8 @@ fi
215# 2) the build dir (in build) 207# 2) the build dir (in build)
216# 3) the sqlite db if that is being used. 208# 3) the sqlite db if that is being used.
217# 4) pid's we need to clean up on exit/shutdown 209# 4) pid's we need to clean up on exit/shutdown
218# note: for future. in order to make this an arbitrary directory, we need to
219# make sure that the toaster.sqlite file doesn't default to `pwd`
220# like it currently does.
221export TOASTER_DIR=`dirname $BUILDDIR` 210export TOASTER_DIR=`dirname $BUILDDIR`
211export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE TOASTER_DIR"
222 212
223# Determine the action. If specified by arguments, fine, if not, toggle it 213# Determine the action. If specified by arguments, fine, if not, toggle it
224if [ "$CMD" = "start" ] ; then 214if [ "$CMD" = "start" ] ; then