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

kbuild: enable objtool for *.mod.o and additional kernel objects



Currently, objtool is disabled in scripts/Makefile.{modfinal,vmlinux}.

This commit moves rule_cc_o_c and rule_as_o_S to scripts/Makefile.lib
and set objtool-enabled to y there.

With this change, *.mod.o, .module-common.o,  builtin-dtb.o, and
vmlinux.export.o will now be covered by objtool.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 000e22a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment