Added menu item to deselect the progress_bar display. Requested by Matthew Burgess
This commit is contained in:
parent
7c170663ed
commit
75d6d1cbf4
3 changed files with 14 additions and 2 deletions
|
@ -914,6 +914,13 @@ menu "--- Build Settings"
|
|||
help
|
||||
#-- Install the optional vim-lang package
|
||||
|
||||
config NO_PROGRESS_BAR
|
||||
bool "DO NOT use/display progress_bar "
|
||||
default n
|
||||
help
|
||||
#-- No not use the progress bar routine. On slower machines
|
||||
# this functions consumes precious CPU cycles.
|
||||
|
||||
config TIMEZONE
|
||||
string "TimeZone"
|
||||
default "GMT"
|
||||
|
|
|
@ -109,7 +109,7 @@ cat << EOF
|
|||
|
||||
$i: $PREV
|
||||
@\$(call echo_message, Building)
|
||||
@export BASHBIN=\$(SHELL) && \$(SHELL) progress_bar.sh \$@ \$\$PPID &
|
||||
${NO_PROGRESS} @export BASHBIN=\$(SHELL) && \$(SHELL) progress_bar.sh \$@ \$\$PPID &
|
||||
@echo "\$(nl_)\`date\`\$(nl_)" >logs/\$@
|
||||
@\$(PRT_DU) >>logs/\$@
|
||||
EOF
|
||||
|
@ -126,7 +126,7 @@ cat << EOF
|
|||
|
||||
$i: $PREV
|
||||
@\$(call echo_message, Building)
|
||||
@export BASHBIN=\$(SHELL) && \$(SHELL) progress_bar.sh \$@ \$\$PPID &
|
||||
${NO_PROGRESS} @export BASHBIN=\$(SHELL) && \$(SHELL) progress_bar.sh \$@ \$\$PPID &
|
||||
@echo "\$(nl_)\`date\`\$(nl_)" >logs/\$@
|
||||
@\$(PRT_DU_CR) >>logs/\$@
|
||||
EOF
|
||||
|
|
5
jhalfs
5
jhalfs
|
@ -119,6 +119,11 @@ SET_WARNINGS=${SET_WARNINGS:=n}
|
|||
SET_MISC=${SET_MISC:=n}
|
||||
SET_BLOWFISH=${SET_BLOWFISH:=n}
|
||||
|
||||
if [[ "${NO_PROGRESS_BAR}" = "y" ]] ; then
|
||||
NO_PROGRESS="#"
|
||||
fi
|
||||
|
||||
|
||||
# Sanity check on the location of $BUILDDIR / $JHALFSDIR
|
||||
CWD=$(cd `dirname $0` && pwd)
|
||||
if [[ $JHALFSDIR == $CWD ]]; then
|
||||
|
|
Reference in a new issue