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

kbuild: split out *.mod out of {single,multi}-used-m rules



Currently, *.mod is created as a side-effect of obj-m.

Split out *.mod as a dedicated build rule, which allows to unify
the %.c -> %.o rule, and remove the single-used-m rule.

This also makes the incremental build of allmodconfig faster because
it saves $(NM) invocation when there is no change in the module.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 30527cef
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