Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Dec 2013 07:25:02 +0100
From:      Luigi Rizzo <rizzo@iet.unipi.it>
To:        Rui Paulo <rpaulo@felyko.com>
Cc:        "current@freebsd.org Current" <current@freebsd.org>
Subject:   Re: 'silent' kernel builds ?
Message-ID:  <20131215062502.GA99699@onelab2.iet.unipi.it>
In-Reply-To: <210A5B78-8220-499D-930E-F042A3DD4360@felyko.com>
References:  <20131215054529.GB99455@onelab2.iet.unipi.it> <210A5B78-8220-499D-930E-F042A3DD4360@felyko.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Dec 14, 2013 at 09:53:30PM -0800, Rui Paulo wrote:
> On 14 Dec 2013, at 21:45, Luigi Rizzo <rizzo@iet.unipi.it> wrote:
> 
> > Hi,
> > I was trying to make buildkernel a bit quieter (just listing
> > the name of the file being compiled).
> > 
> > I hoped to modify the " .c.o: " rules in  share/sys.mk but apparently
> > kernel builds generate their own Makefile using definitions in
> > sys/conf/kern.pre.mk .
> > 
> > As a result, a patch like the one below gets most of the work done
> > (a few extra bits are necessary to mask the awk calls, and the
> > 'irregular' compiler invocations).
> > 
> > However I could not found the rule definition used to build modules,
> > any idea where to look ?
> 
> sys/conf/kmod.mk

... ok, which in turn ends up into share/sys.mk at least for the .c.o rule

> > And finally, is there interest in this feature ?
> 
> I think it would be nice to have, maybe enabled by default.  Does it still print the errors? I think so, but I'm not sure.

Yes it does print errors, just checked.

I am not worried about making it a default, POLA
probably suggests otherwise and it is simple to
control it through a make.conf or environment variable.

thanks
luigi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131215062502.GA99699>