diff options
-rw-r--r-- | scripts/Makefile.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build index d5f925abe4d2..5f87d3709f9f 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build | |||
@@ -345,7 +345,7 @@ quiet_cmd_link_o_target = LD $@ | |||
345 | cmd_link_o_target = $(if $(strip $(obj-y)),\ | 345 | cmd_link_o_target = $(if $(strip $(obj-y)),\ |
346 | $(LD) $(ld_flags) -r -o $@ $(filter $(obj-y), $^) \ | 346 | $(LD) $(ld_flags) -r -o $@ $(filter $(obj-y), $^) \ |
347 | $(cmd_secanalysis),\ | 347 | $(cmd_secanalysis),\ |
348 | rm -f $@; $(AR) rcs $@) | 348 | rm -f $@; $(AR) rcsD $@) |
349 | 349 | ||
350 | $(builtin-target): $(obj-y) FORCE | 350 | $(builtin-target): $(obj-y) FORCE |
351 | $(call if_changed,link_o_target) | 351 | $(call if_changed,link_o_target) |
@@ -371,7 +371,7 @@ $(modorder-target): $(subdir-ym) FORCE | |||
371 | # | 371 | # |
372 | ifdef lib-target | 372 | ifdef lib-target |
373 | quiet_cmd_link_l_target = AR $@ | 373 | quiet_cmd_link_l_target = AR $@ |
374 | cmd_link_l_target = rm -f $@; $(AR) rcs $@ $(lib-y) | 374 | cmd_link_l_target = rm -f $@; $(AR) rcsD $@ $(lib-y) |
375 | 375 | ||
376 | $(lib-target): $(lib-y) FORCE | 376 | $(lib-target): $(lib-y) FORCE |
377 | $(call if_changed,link_l_target) | 377 | $(call if_changed,link_l_target) |