[U-Boot] [PATCH] make make quiet

Scott Wood scottwood at freescale.com
Mon Jan 5 20:53:11 CET 2009


On Wed, Dec 31, 2008 at 08:47:54PM +0100, Wolfgang Denk wrote:
> Dear kenneth johansson,
> 
> In message <1230715433.19628.12.camel at duo> you wrote:
> >
> > > If you find the make output annoying, you can silence make by passing
> > > the "-s" flag.
> > 
> > -s is a bit to much you get no feedback at all.
> 
> But that's the preferred way of doing things, at least according to
> Unix Philosophy.

Let's not get so bogged down in following some overgeneralized philosophy
that we ignore the preferences of users.

Besides, if you really wanted the build to be like a typical Unix tool,
shouldn't -s be default, and verbose an option?  Patches of this sort get
closer to that.

Most people don't use -s, and this will make more people see warnings.

> > > Unless you have a  really  good  reason  why  this  patch  should  be
> > > applied, I tend to reject it.
> > 
> > No it's only a way to remove most of the noise as mentioned it has no
> > effect on u-boot itself. 
> 
> If you want to have a silent build (which I do almost always, too),
> then either use "./MAKEALL <boardname>" or "make -s".

I don't want a silent build, I want a non-excessively-verbose build.

> U-Boot is the wrong place to fix this. Please fix this in make, for
> the benefit of others, too.

Hmm, the best make could reasonably do on its own would be to print the
name of each target, but that could get cluttered with intermediate and
fake targets.  While such an option would be very nice, I don't think it
should preclude makefile support for nicer output.

-Scott


More information about the U-Boot mailing list