diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-06-01 07:57:00 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-06-03 06:22:17 +0200 |
commit | b2c88554912267483baf8b4f5ae0a1bff529f6a3 (patch) | |
tree | af11987104ffb472eb6fa279204bcc2eb18d71ed /crypto/lrw.c | |
parent | kbuild: refactor KBUILD_VMLINUX_{OBJS,LIBS} calculation (diff) | |
download | linux-b2c88554912267483baf8b4f5ae0a1bff529f6a3.tar.xz linux-b2c88554912267483baf8b4f5ae0a1bff529f6a3.zip |
kbuild: update modules.order only when contained modules are updated
Make modules.order depend on $(obj-m), and use if_changed to build it.
This will avoid unneeded update of modules.order, which will be useful
to optimize the modpost stage.
Currently, the second pass of modpost is always invoked. By checking the
timestamp of modules.order, we can avoid the unneeded modpost.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'crypto/lrw.c')
0 files changed, 0 insertions, 0 deletions