diff options
| -rwxr-xr-x | bitbake/bin/toaster | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster index 7cecc7b3cd..1f9849072a 100755 --- a/bitbake/bin/toaster +++ b/bitbake/bin/toaster | |||
| @@ -17,8 +17,8 @@ | |||
| 17 | # You should have received a copy of the GNU General Public License | 17 | # You should have received a copy of the GNU General Public License |
| 18 | # along with this program. If not, see http://www.gnu.org/licenses/. | 18 | # along with this program. If not, see http://www.gnu.org/licenses/. |
| 19 | 19 | ||
| 20 | # Usage: source toaster [start|stop|restart-bitbake] [webport=<port>] | 20 | # Usage: source toaster [start|stop|restart-bitbake] |
| 21 | # [noui] [noweb] [nobrowser] [brbe=<BRBE>] | 21 | # [webport=<port>] [noui] [noweb] |
| 22 | 22 | ||
| 23 | # Helper function to kill a background toaster development server | 23 | # Helper function to kill a background toaster development server |
| 24 | 24 | ||
| @@ -203,8 +203,6 @@ export TOASTER_DIR=`pwd` | |||
| 203 | 203 | ||
| 204 | NOTOASTERUI=0 | 204 | NOTOASTERUI=0 |
| 205 | WEBSERVER=1 | 205 | WEBSERVER=1 |
| 206 | NOBROWSER=0 | ||
| 207 | TOASTER_BRBE="" | ||
| 208 | WEB_PORT="8000" | 206 | WEB_PORT="8000" |
| 209 | 207 | ||
| 210 | for param in $*; do | 208 | for param in $*; do |
| @@ -215,12 +213,6 @@ for param in $*; do | |||
| 215 | noweb ) | 213 | noweb ) |
| 216 | WEBSERVER=0 | 214 | WEBSERVER=0 |
| 217 | ;; | 215 | ;; |
| 218 | nobrowser ) | ||
| 219 | NOBROWSER=1 | ||
| 220 | ;; | ||
| 221 | brbe=* ) | ||
| 222 | TOASTER_BRBE=$'\n'"TOASTER_BRBE=\""${param#*=}"\"" | ||
| 223 | ;; | ||
| 224 | webport=*) | 216 | webport=*) |
| 225 | WEB_PORT="${param#*=}" | 217 | WEB_PORT="${param#*=}" |
| 226 | esac | 218 | esac |
| @@ -318,7 +310,6 @@ case $CMD in | |||
| 318 | conf=${BUILDDIR}/conf/toaster.conf | 310 | conf=${BUILDDIR}/conf/toaster.conf |
| 319 | echo "# Created by toaster start script" > $conf | 311 | echo "# Created by toaster start script" > $conf |
| 320 | echo "INHERIT+=\"toaster buildhistory\"" >> $conf | 312 | echo "INHERIT+=\"toaster buildhistory\"" >> $conf |
| 321 | [ -n "$TOASTER_BRBE" ] && echo $TOASTER_BRBE >> $conf | ||
| 322 | 313 | ||
| 323 | if [ $WEBSERVER -gt 0 ] && ! webserverStartAll; then | 314 | if [ $WEBSERVER -gt 0 ] && ! webserverStartAll; then |
| 324 | echo "Failed ${CMD}." | 315 | echo "Failed ${CMD}." |
