Re: [PATCH 1/6] kbuild: record needed exported symbols for modules
From: Al Viro
Date: Mon Feb 08 2016 - 23:15:32 EST
On Mon, Feb 08, 2016 at 03:28:30PM -0500, Nicolas Pitre wrote:
> +ifdef CONFIG_TRIM_UNUSED_EXPSYMS
> +cmd_undef_syms = $(NM) $@ | sed -n 's/^ \+U \(.*\)/\1/p' | xargs echo
Umm... sed -nre 's/^ +U //p', perhaps?