kbuild: make *.mod not depend on *.o
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 6 Apr 2022 15:30:22 +0000 (00:30 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 7 May 2022 18:16:59 +0000 (03:16 +0900)
commitfc93a4cdce1db7568fcdff608924324f5754efe5
tree783c2523980e27d9fcbc1be79fab97ca15635101
parent22f26f21774f838e97921952d8c5c4aab3da2ea4
kbuild: make *.mod not depend on *.o

The dependency

    $(obj)/%.mod: $(obj)/%$(mod-prelink-ext).o

... exists because *.mod files previously contained undefined symbols,
which are computed from *.o files when CONFIG_TRIM_UNUSED_KSYMS=y.

Now that the undefined symbols are put into separate *.usyms files,
there is no reason to make *.mod depend on *.o files.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Makefile
scripts/Makefile.build