Skip to content

Commit

Permalink
kbuild: Use the deterministic mode of ar
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Marek <[email protected]>
  • Loading branch information
michal42 committed Apr 18, 2011
1 parent 6ae9ecb commit 09ff9fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/Makefile.build
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ quiet_cmd_link_o_target = LD $@
cmd_link_o_target = $(if $(strip $(obj-y)),\
$(LD) $(ld_flags) -r -o $@ $(filter $(obj-y), $^) \
$(cmd_secanalysis),\
rm -f $@; $(AR) rcs $@)
rm -f $@; $(AR) rcsD $@)

$(builtin-target): $(obj-y) FORCE
$(call if_changed,link_o_target)
Expand All @@ -371,7 +371,7 @@ $(modorder-target): $(subdir-ym) FORCE
#
ifdef lib-target
quiet_cmd_link_l_target = AR $@
cmd_link_l_target = rm -f $@; $(AR) rcs $@ $(lib-y)
cmd_link_l_target = rm -f $@; $(AR) rcsD $@ $(lib-y)

$(lib-target): $(lib-y) FORCE
$(call if_changed,link_l_target)
Expand Down

0 comments on commit 09ff9fe

Please sign in to comment.