summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2011-03-31 16:09:47 +0200
committerMichal Marek <mmarek@suse.cz>2011-04-18 14:24:45 +0200
commit09ff9fecc039d60fff6c11d47522af61e89fff56 (patch)
treeb4eddf5c6a40e3a0e2f9aae546249690a9805694 /scripts
parent6ae9ecb86188cc8419024cdb299f18d4ae4f5713 (diff)
downloadop-kernel-dev-09ff9fecc039d60fff6c11d47522af61e89fff56.zip
op-kernel-dev-09ff9fecc039d60fff6c11d47522af61e89fff56.tar.gz
kbuild: Use the deterministic mode of ar
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build
index d5f925a..5f87d37 100644
--- a/scripts/Makefile.build
+++ b/scripts/Makefile.build
@@ -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)
@@ -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)
OpenPOWER on IntegriCloud