Home
last modified time | relevance | path

Searched hist:b2c88554912267483baf8b4f5ae0a1bff529f6a3 (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/scripts/
H A DMakefile.buildb2c88554912267483baf8b4f5ae0a1bff529f6a3 Mon Jun 01 00:57:00 CDT 2020 Masahiro Yamada <masahiroy@kernel.org> 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>
H A DMakefile.libb2c88554912267483baf8b4f5ae0a1bff529f6a3 Mon Jun 01 00:57:00 CDT 2020 Masahiro Yamada <masahiroy@kernel.org> 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>
/openbmc/linux/
H A DMakefileb2c88554912267483baf8b4f5ae0a1bff529f6a3 Mon Jun 01 00:57:00 CDT 2020 Masahiro Yamada <masahiroy@kernel.org> 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>