Added menu item to deselect the progress_bar display. Requested by Matthew Burgess

This commit is contained in:
George Boudreau 2008-10-27 23:26:29 +00:00
parent 7c170663ed
commit 75d6d1cbf4
3 changed files with 14 additions and 2 deletions

View file

@ -914,6 +914,13 @@ menu "--- Build Settings"
help help
#-- Install the optional vim-lang package #-- 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 config TIMEZONE
string "TimeZone" string "TimeZone"
default "GMT" default "GMT"

View file

@ -109,7 +109,7 @@ cat << EOF
$i: $PREV $i: $PREV
@\$(call echo_message, Building) @\$(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/\$@ @echo "\$(nl_)\`date\`\$(nl_)" >logs/\$@
@\$(PRT_DU) >>logs/\$@ @\$(PRT_DU) >>logs/\$@
EOF EOF
@ -126,7 +126,7 @@ cat << EOF
$i: $PREV $i: $PREV
@\$(call echo_message, Building) @\$(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/\$@ @echo "\$(nl_)\`date\`\$(nl_)" >logs/\$@
@\$(PRT_DU_CR) >>logs/\$@ @\$(PRT_DU_CR) >>logs/\$@
EOF EOF

5
jhalfs
View file

@ -119,6 +119,11 @@ SET_WARNINGS=${SET_WARNINGS:=n}
SET_MISC=${SET_MISC:=n} SET_MISC=${SET_MISC:=n}
SET_BLOWFISH=${SET_BLOWFISH:=n} SET_BLOWFISH=${SET_BLOWFISH:=n}
if [[ "${NO_PROGRESS_BAR}" = "y" ]] ; then
NO_PROGRESS="#"
fi
# Sanity check on the location of $BUILDDIR / $JHALFSDIR # Sanity check on the location of $BUILDDIR / $JHALFSDIR
CWD=$(cd `dirname $0` && pwd) CWD=$(cd `dirname $0` && pwd)
if [[ $JHALFSDIR == $CWD ]]; then if [[ $JHALFSDIR == $CWD ]]; then