Re: [PATCH 1/6] kbuild: record needed exported symbols for modules

From: Nicolas Pitre
Date: Mon Feb 08 2016 - 17:28:35 EST


On Mon, 8 Feb 2016, Sam Ravnborg wrote:

> >
> > +# List module undefined symbols
> > +ifdef CONFIG_TRIM_UNUSED_EXPSYMS
> > +cmd_undef_syms = $(NM) $@ | sed -n 's/^ \+U \(.*\)/\1/p' | xargs echo
> > +else
> > +cmd_undef_syms = echo
> > +endif
> Use ":" as a "do nothing" cammand. Then you do not emit an empty line.

I wanted to emit that empty line though. This way it is less likely that
it'll be reused for other purposes.


Nicolas