Skip to content
Commit 5ab70ff4 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

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: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 69bc8d38
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment