kbuild: fix typo in modpost
authorWill McVicker <willmcvicker@google.com>
Tue, 25 Oct 2022 20:17:44 +0000 (13:17 -0700)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 27 Oct 2022 15:19:40 +0000 (00:19 +0900)
Commit f73edc8951b2 ("kbuild: unify two modpost invocations") introduced
a typo (moudle.symvers-if-present) which results in the kernel's
Module.symvers to not be included as a prerequisite for
$(KBUILD_EXTMOD)/Module.symvers. Fix the typo to restore the intended
functionality.

Fixes: f73edc8951b2 ("kbuild: unify two modpost invocations")
Signed-off-by: Will McVicker <willmcvicker@google.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/Makefile.modpost

index 8489a34..e41dee6 100644 (file)
@@ -122,7 +122,7 @@ quiet_cmd_modpost = MODPOST $@
        sed 's/ko$$/o/' $(or $(modorder-if-needed), /dev/null) | $(MODPOST) $(modpost-args) -T - $(vmlinux.o-if-present)
 
 targets += $(output-symdump)
-$(output-symdump): $(modorder-if-needed) $(vmlinux.o-if-present) $(moudle.symvers-if-present) $(MODPOST) FORCE
+$(output-symdump): $(modorder-if-needed) $(vmlinux.o-if-present) $(module.symvers-if-present) $(MODPOST) FORCE
        $(call if_changed,modpost)
 
 __modpost: $(output-symdump)