commit | 9f69a496f1001bd27c484da43da30b2cdc8e06ed | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Wed Jul 17 15:18:00 2019 +0900 |
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | Thu Jul 18 02:19:31 2019 +0900 |
tree | 30975d9cc2decf951996d2dab135111ec89aea07 | |
parent | 30527cefb37d2ad796feb1f469cd097dee8420cb [diff] |
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: Masahiro Yamada <yamada.masahiro@socionext.com>