[Buildroot] [PATCH 01/11] package-infra: add helper to build kernel modules

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Jun 8 21:33:00 UTC 2015


Dear Yann E. MORIN,

On Mon, 8 Jun 2015 23:25:19 +0200, Yann E. MORIN wrote:

> > > +# Build the kernel module(s)
> > > +define $(2)_KERNEL_MODULES_BUILD
> > > +	$$(foreach d,$$($(2)_MODULE_SUBDIRS), \
> > > +		@$$(call MESSAGE,"Building kernel module '$$(d)'")$$(sep) \
> > 
> >  I think that "Building kernel module '.'" looks a bit weird... But again, I
> > can't think of an alternative.
> 
> Neither do I. I'll see if I can do something about that...

Just don't show a message for each subdir, only one for the overall
build command:

	$$(call MESAGE,"Building kernel module(s)")

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list