Re: 'silent' kernel builds ?

From: Rui Paulo <rpaulo_at_felyko.com>
Date: Sat, 14 Dec 2013 21:53:30 -0800
On 14 Dec 2013, at 21:45, Luigi Rizzo <rizzo_at_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

> 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.

--
Rui Paulo
Received on Sun Dec 15 2013 - 04:54:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:45 UTC