]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - scripts/Makefile.modpost
[ARM] 4764/1: [AT91] AT91CAP9 core support
[linux-2.6-omap-h63xx.git] / scripts / Makefile.modpost
index 1818c502007e89a8ea7a0951ef4c87a54644faf5..d988f5d21e3df12b50e31b9eac86bc21e82b867c 100644 (file)
@@ -98,7 +98,7 @@ targets += $(modules:.ko=.mod.o)
 
 # Step 6), final link of the modules
 quiet_cmd_ld_ko_o = LD [M]  $@
-      cmd_ld_ko_o = $(LD) $(LDFLAGS) $(LDFLAGS_MODULE) -o $@           \
+      cmd_ld_ko_o = $(LD) -r $(LDFLAGS) $(LDFLAGS_MODULE) -o $@                \
                          $(filter-out FORCE,$^)
 
 $(modules): %.ko :%.o %.mod.o FORCE