diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/Makefile.modpost | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/Makefile.modpost b/scripts/Makefile.modpost index a7ab45ec7839..59b848e943e2 100644 --- a/scripts/Makefile.modpost +++ b/scripts/Makefile.modpost @@ -37,10 +37,7 @@ targets += $(modules) quiet_cmd_cc_o_c = CC $@ cmd_cc_o_c = $(CC) $(CFLAGS) $(CFLAGS_MODULE) -c -o $@ $< -# We have a fake dependency on compile.h to make sure that we -# notice if the compiler version changes under us. - -$(modules:.ko=.mod.o): %.mod.o: %.mod.c include/linux/compile.h FORCE +$(modules:.ko=.mod.o): %.mod.o: %.mod.c $(call if_changed,cc_o_c) targets += $(modules:.ko=.mod.o) |
