Changeset 2463

Show
Ignore:
Timestamp:
05/08/07 14:37:26 (2 years ago)
Author:
tg
Message:

new: “make slow” – compile, but output only as few as can be transmitted
via a slow line, such as a serial link

wbx@ only allowed me to default to V=99 if I commit “something like” this

future improvements: change the TRACE variables to echo special control
characters which are then picked up by “make slow” as well; convert it
from using tail(1) to a shell-based line buffer (slightly more CPU in-
tensive; mksh would be more than 3 times as performant as GNU bash here)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt

    • Property svn:ignore changed from
      .cfg
      .config*
      .prereq_done
      .tmpconfig.h
      bin
      build_*
      dl
      lbin
      make.log
      prefs.mk
      root_fs*
      staging_dir_*
      toolchain_build_*
      tools_build
      to
      .cfg
      .config*
      .prereq_done
      .tmpconfig.h
      bin
      build_*
      dl
      lbin
      make.log
      nohup.out
      prefs.mk
      root_fs*
      staging_dir_*
      toolchain_build_*
      tools_build
  • trunk/freewrt/Makefile

    r2370 r2463  
    1313 
    1414v: .prereq_done 
    15         (echo; echo "Build started on $$(LC_ALL=C LANGUAGE=C TZ=UTC date)"; \ 
     15        @(echo; echo "Build started on $$(LC_ALL=C LANGUAGE=C TZ=UTC date)"; \ 
    1616            set -x; ${GMAKE_FMK} V=99 all) 2>&1 | tee -a make.log 
     17 
     18v_q: .prereq_done 
     19        @(echo; echo "Build started on $$(LC_ALL=C LANGUAGE=C TZ=UTC date)"; \ 
     20            set -x; ${GMAKE_FMK} V=99 all) >>make.log 2>&1 
     21 
     22slow: 
     23        @(nohup make v_q 2>&- & while sleep 2; do tail -n 3 make.log; done; :) 
    1724 
    1825help: 
     
    6875 
    6976clean: .prereq_done 
     77        -rm -f nohup.out 
    7078        @${GMAKE_INV} clean 
    7179