kbuild: cmd_export_list: tighten the sed script
authorNicolas Pitre <nicolas.pitre@linaro.org>
Thu, 17 Nov 2016 00:28:39 +0000 (19:28 -0500)
committerMichal Marek <mmarek@suse.com>
Sun, 11 Dec 2016 10:51:43 +0000 (11:51 +0100)
commit76bee23411f8510fbf5fc5641bae2c203b726eb6
tree8f917e9ce9020d1f0ff3c18d451a10c0db3697dd
parentabac4c89731c02f28820d3e1bc66e85bca4baa20
kbuild: cmd_export_list: tighten the sed script

When LTO is used, some ___ksymtab_string sections are seen by this sed
script, creating lines containing a single ) such as:

EXPORT(foo)
)
)
EXPORT(bar)

Let's make it so the + character is also required for any line to be
printed.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Michal Marek <mmarek@suse.com>
scripts/Makefile.build