diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2021-03-25 21:54:10 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2021-04-24 23:17:38 +0300 |
commit | 5ab70ff4286f74732c082b65366bad39146d2b10 (patch) | |
tree | 01b143765d6d02c295546c6875b3643b70e305bc /tools | |
parent | 69bc8d386aebbd91a6bb44b6d33f77c8dfa9ed8c (diff) | |
download | linux-5ab70ff4286f74732c082b65366bad39146d2b10.tar.xz |
kbuild: do not set -w for vmlinux.o modpost
The -w option is meaningless for the first pass of modpost (vmlinux.o).
We know there are unresolved symbols in vmlinux.o, hence we skip
check_exports() and other checks when mod->is_vmlinux is set.
See the following part in the for-loop.
if (mod->is_vmlinux || mod->from_dump)
continue;
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions