Re: [PATCH v4 5/8] kbuild: add fine grained build dependencies for exported symbols

2016-03-04 Thread Michal Marek
On 2016-03-04 03:46, Nicolas Pitre wrote: > On Thu, 3 Mar 2016, Michal Marek wrote: > >> Dne 29.2.2016 v 04:48 Nicolas Pitre napsal(a): >>> +# Filter out exported kernel symbol names advertised as warning pragmas >>> +# by the preprocessor and write them to $(1). We must consider continuation >>>

Re: [PATCH v4 5/8] kbuild: add fine grained build dependencies for exported symbols

2016-03-03 Thread Nicolas Pitre
On Thu, 3 Mar 2016, Michal Marek wrote: > Dne 29.2.2016 v 04:48 Nicolas Pitre napsal(a): > > +# Filter out exported kernel symbol names advertised as warning pragmas > > +# by the preprocessor and write them to $(1). We must consider continuation > > +# lines as well: they start with a blank, or t

Re: [PATCH v4 5/8] kbuild: add fine grained build dependencies for exported symbols

2016-03-03 Thread Michal Marek
Dne 29.2.2016 v 04:48 Nicolas Pitre napsal(a): > +# Filter out exported kernel symbol names advertised as warning pragmas > +# by the preprocessor and write them to $(1). We must consider continuation > +# lines as well: they start with a blank, or the preceeding line ends with > +# a ':'. Anything

[PATCH v4 5/8] kbuild: add fine grained build dependencies for exported symbols

2016-02-28 Thread Nicolas Pitre
Like with kconfig options, we now have the ability to compile in and out individual EXPORT_SYMBOL() declarations based on the content of include/generated/autoksyms.h. However we don't want the entire world to be rebuilt whenever that file is touched. Let's apply the same build dependency trick u