]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7bb5cde33db9290fd62f4b5b115330d46b990441
tree783c2523980e27d9fcbc1be79fab97ca15635101
parent6d3c9de2664dabc43a53c60b7e4f668699179a16
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