]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit630493ad0c0f8bd138c1c291b6b9a7bbc318853f
treed350bf977d99ec4c0e55d52ee371bcc34334eb4f
parented659fe27302eb84bf1635ac6f1a4b9ce53b4e0b
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