OSDN Git Service

modpost: pass -N option only for modules modpost
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 1 Jun 2020 05:57:03 +0000 (14:57 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 3 Jun 2020 04:22:17 +0000 (13:22 +0900)
commit4e5ab74c3cbbe7ca2b907a86ce5140e442b340bf
treed350bf977d99ec4c0e55d52ee371bcc34334eb4f
parent89d6117680bd8ac6a86f58576de0bd6905421707
modpost: pass -N option only for modules modpost

The built-in only code is not required to have MODULE_IMPORT_NS() to
use symbols. So, the namespace is not checked for vmlinux(.o).

Do not pass the meaningless -N option to the first pass of modpost.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/Makefile.modpost