Commit f01dc2a7 authored by Kai Germaschewski's avatar Kai Germaschewski

kbuild: Add some missing FORCE

Those were missing, not particularly harmful, but still needed for
correctness.
parent 56ddf23b
...@@ -37,7 +37,7 @@ targets += $(modules) ...@@ -37,7 +37,7 @@ targets += $(modules)
quiet_cmd_cc_o_c = CC $@ quiet_cmd_cc_o_c = CC $@
cmd_cc_o_c = $(CC) $(CFLAGS) $(CFLAGS_MODULE) -c -o $@ $< cmd_cc_o_c = $(CC) $(CFLAGS) $(CFLAGS_MODULE) -c -o $@ $<
$(modules:.ko=.mod.o): %.mod.o: %.mod.c $(modules:.ko=.mod.o): %.mod.o: %.mod.c FORCE
$(call if_changed,cc_o_c) $(call if_changed,cc_o_c)
targets += $(modules:.ko=.mod.o) targets += $(modules:.ko=.mod.o)
...@@ -51,9 +51,9 @@ $(modules:.ko=.mod.c): __modpost ; ...@@ -51,9 +51,9 @@ $(modules:.ko=.mod.c): __modpost ;
# Extract all checksums for all exported symbols # Extract all checksums for all exported symbols
quiet_cmd_modpost = MODPOST quiet_cmd_modpost = MODPOST
cmd_modpost = scripts/modpost $^ cmd_modpost = scripts/modpost $(filter-out FORCE,$^)
__modpost: $(wildcard vmlinux) $(modules:.ko=.o) __modpost: $(wildcard vmlinux) $(modules:.ko=.o) FORCE
$(call if_changed,modpost) $(call if_changed,modpost)
targets += __modpost targets += __modpost
......
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