From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Mon, 8 Jun 2015 23:33:00 +0200 Subject: [Buildroot] [PATCH 01/11] package-infra: add helper to build kernel modules In-Reply-To: <20150608212519.GC3590@free.fr> References: <7f37dfb955f969acf85ea5044c1c4020096d2270.1433628825.git.yann.morin.1998@free.fr> <55760493.1070807@mind.be> <20150608212519.GC3590@free.fr> Message-ID: <20150608233300.677fe6d8@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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