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

Nicolas Pitre
2016-02-08T22:28:32Z

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