diff options
Diffstat (limited to 'scripts/Makefile.modpost')
-rw-r--r-- | scripts/Makefile.modpost | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.modpost b/scripts/Makefile.modpost index 1818c502007e..d988f5d21e3d 100644 --- a/scripts/Makefile.modpost +++ b/scripts/Makefile.modpost | |||
@@ -98,7 +98,7 @@ targets += $(modules:.ko=.mod.o) | |||
98 | 98 | ||
99 | # Step 6), final link of the modules | 99 | # Step 6), final link of the modules |
100 | quiet_cmd_ld_ko_o = LD [M] $@ | 100 | quiet_cmd_ld_ko_o = LD [M] $@ |
101 | cmd_ld_ko_o = $(LD) $(LDFLAGS) $(LDFLAGS_MODULE) -o $@ \ | 101 | cmd_ld_ko_o = $(LD) -r $(LDFLAGS) $(LDFLAGS_MODULE) -o $@ \ |
102 | $(filter-out FORCE,$^) | 102 | $(filter-out FORCE,$^) |
103 | 103 | ||
104 | $(modules): %.ko :%.o %.mod.o FORCE | 104 | $(modules): %.ko :%.o %.mod.o FORCE |