[U-Boot] [PATCH next] silence awk command display during build

Mike Frysinger vapier at gentoo.org
Tue Sep 14 21:25:04 CEST 2010


On Tuesday, September 14, 2010 14:41:16 Kim Phillips wrote:
> On Mon, 13 Sep 2010 21:59:21 -0400 Mike Frysinger wrote:
> > On Monday, September 13, 2010 21:17:30 Kim Phillips wrote:
> > > [u-boot next]$ ./MAKEALL 83xx
> > > awk '(NF && $1 !~ /^#/) { print $1 ": " $1 "_config; $(MAKE)" }'
> > > boards.cfg
> > > 
> > > > .boards.depend Configuring for ve8313 board...
> > 
> > how about we change MAKEALL to run the config step with -s ?
> 
> not sure how that relates to this patch...afaict, make board config,
> MAKEALL or non:
> 
> [u-boot next]$ make distclean && make ve8313_config
> Generating include/autoconf.mk
> Generating include/autoconf.mk.dep
> awk '(NF && $1 !~ /^#/) { print $1 ": " $1 "_config; $(MAKE)" }' boards.cfg
> > .boards.depend Configuring for ve8313 board...
> [u-boot next]$
> 
> ..should be silent except for announcing what board its configuring.

instead of silencing a somewhat complicated command that could break the build 
system if it goes wrong, use the mechanisms already in place if you want nice 
& concise output -- the --silent option to make.  i dont see a problem with 
this output you've quoted in the normal run of things.

so to get back to your patch, if you want "pretty" MAKEALL output, change 
MAKEALL to call make with "-s".
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20100914/99f3b6a7/attachment.pgp 


More information about the U-Boot mailing list