Commit 3b1e0dd2 authored by Will McVicker's avatar Will McVicker Committed by Masahiro Yamada

kbuild: fix typo in modpost

Commit f73edc89 ("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: f73edc89 ("kbuild: unify two modpost invocations")
Signed-off-by: default avatarWill McVicker <willmcvicker@google.com>
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 114ff6fe
...@@ -122,7 +122,7 @@ quiet_cmd_modpost = MODPOST $@ ...@@ -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) sed 's/ko$$/o/' $(or $(modorder-if-needed), /dev/null) | $(MODPOST) $(modpost-args) -T - $(vmlinux.o-if-present)
targets += $(output-symdump) 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) $(call if_changed,modpost)
__modpost: $(output-symdump) __modpost: $(output-symdump)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment