Silence warning from 'ar' if the archive had to be created.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20151 a1c6a512-1295-4272-9138-f99709370657
diff --git a/apps/codecs/demac/libdemac.make b/apps/codecs/demac/libdemac.make
index afbf030..5026fb1 100644
--- a/apps/codecs/demac/libdemac.make
+++ b/apps/codecs/demac/libdemac.make
@@ -15,7 +15,7 @@
$(DEMACLIB): $(DEMACLIB_OBJ)
$(SILENT)$(shell rm -f $@)
- $(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
+ $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
DEMACFLAGS = $(filter-out -O%,$(CODECFLAGS))
DEMACFLAGS += -O3
diff --git a/apps/codecs/lib/libcodec.make b/apps/codecs/lib/libcodec.make
index 0c3b565..d784b7c 100644
--- a/apps/codecs/lib/libcodec.make
+++ b/apps/codecs/lib/libcodec.make
@@ -14,7 +14,7 @@
$(CODECLIB): $(CODECLIB_OBJ)
$(SILENT)$(shell rm -f $@)
- $(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
+ $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
CODECLIBFLAGS = $(CODECFLAGS) -ffunction-sections
diff --git a/apps/codecs/liba52/liba52.make b/apps/codecs/liba52/liba52.make
index 594c370..79b2eb2 100644
--- a/apps/codecs/liba52/liba52.make
+++ b/apps/codecs/liba52/liba52.make
@@ -15,4 +15,4 @@
$(A52LIB): $(A52LIB_OBJ)
$(SILENT)$(shell rm -f $@)
- $(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
+ $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
diff --git a/apps/codecs/libalac/libalac.make b/apps/codecs/libalac/libalac.make
index 1fa06d4..b23050f 100644
--- a/apps/codecs/libalac/libalac.make
+++ b/apps/codecs/libalac/libalac.make
@@ -15,7 +15,7 @@
$(ALACLIB): $(ALACLIB_OBJ)
$(SILENT)$(shell rm -f $@)
- $(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
+ $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
ALACFLAGS = $(filter-out -O%,$(CODECFLAGS))
ALACFLAGS += -O3
diff --git a/apps/codecs/libasap/libasap.make b/apps/codecs/libasap/libasap.make
index c219212..8054648 100644
--- a/apps/codecs/libasap/libasap.make
+++ b/apps/codecs/libasap/libasap.make
@@ -15,7 +15,7 @@
$(ASAPLIB): $(ASAPLIB_OBJ)
$(SILENT)$(shell rm -f $@)
- $(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
+ $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
ASAPFLAGS = $(filter-out -O%,$(CODECFLAGS))
ASAPFLAGS += -O1
diff --git a/apps/codecs/libfaad/libfaad.make b/apps/codecs/libfaad/libfaad.make
index 67e8a5f..4f5fbc3 100644
--- a/apps/codecs/libfaad/libfaad.make
+++ b/apps/codecs/libfaad/libfaad.make
@@ -16,4 +16,4 @@
$(FAADLIB): $(FAADLIB_OBJ)
$(SILENT)$(shell rm -f $@)
- $(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
+ $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
diff --git a/apps/codecs/libffmpegFLAC/libffmpegFLAC.make b/apps/codecs/libffmpegFLAC/libffmpegFLAC.make
index a82c64e..734f3d2 100644
--- a/apps/codecs/libffmpegFLAC/libffmpegFLAC.make
+++ b/apps/codecs/libffmpegFLAC/libffmpegFLAC.make
@@ -15,4 +15,4 @@
$(FFMPEGFLACLIB): $(FFMPEGFLACLIB_OBJ)
$(SILENT)$(shell rm -f $@)
- $(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
+ $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
diff --git a/apps/codecs/libm4a/libm4a.make b/apps/codecs/libm4a/libm4a.make
index d6a47e7..8b11fce 100644
--- a/apps/codecs/libm4a/libm4a.make
+++ b/apps/codecs/libm4a/libm4a.make
@@ -15,7 +15,7 @@
$(M4ALIB): $(M4ALIB_OBJ)
$(SILENT)$(shell rm -f $@)
- $(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
+ $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
M4AFLAGS = $(filter-out -O%,$(CODECFLAGS))
M4AFLAGS += -O3
diff --git a/apps/codecs/libmad/libmad.make b/apps/codecs/libmad/libmad.make
index 4a7c402..85b84e0 100644
--- a/apps/codecs/libmad/libmad.make
+++ b/apps/codecs/libmad/libmad.make
@@ -22,7 +22,7 @@
$(MADLIB): $(MADLIB_OBJ)
$(SILENT)$(shell rm -f $@)
- $(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
+ $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
# libmad-mpeg
MPEGMADLIB := $(CODECDIR)/libmad-mpeg.a
diff --git a/apps/codecs/libmusepack/libmusepack.make b/apps/codecs/libmusepack/libmusepack.make
index e6f06c6..e975f00 100644
--- a/apps/codecs/libmusepack/libmusepack.make
+++ b/apps/codecs/libmusepack/libmusepack.make
@@ -15,7 +15,7 @@
$(MUSEPACKLIB): $(MUSEPACKLIB_OBJ)
$(SILENT)$(shell rm -f $@)
- $(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
+ $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
# libmusepack is faster on ARM-targets with -O1 than -O2
MUSEPACKFLAGS = $(filter-out -O%,$(CODECFLAGS)) -I$(APPSDIR)/codecs/libmusepack
diff --git a/apps/codecs/libspc/libspc.make b/apps/codecs/libspc/libspc.make
index 9ce6c07..7da5135 100644
--- a/apps/codecs/libspc/libspc.make
+++ b/apps/codecs/libspc/libspc.make
@@ -15,7 +15,7 @@
$(SPCLIB): $(SPCLIB_OBJ)
$(SILENT)$(shell rm -f $@)
- $(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
+ $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
SPCFLAGS = $(filter-out -O%,$(CODECFLAGS))
SPCFLAGS += -O1
diff --git a/apps/codecs/libspeex/libspeex.make b/apps/codecs/libspeex/libspeex.make
index 6d1fe02..dcf5b8b 100644
--- a/apps/codecs/libspeex/libspeex.make
+++ b/apps/codecs/libspeex/libspeex.make
@@ -32,7 +32,7 @@
$(SPEEXLIB): $(SPEEXLIB_OBJ)
$(SILENT)$(shell rm -f $@)
- $(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
+ $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
# libspeex-voice
VOICESPEEXLIB := $(CODECDIR)/libspeex-voice.a
@@ -40,7 +40,7 @@
VOICESPEEXLIB_OBJ := $(addsuffix .o,$(basename $(subst $(ROOTDIR)/apps/codecs/libspeex,$(BUILDDIR)/apps/codecs/libspeex-voice,$(VOICESPEEXLIB_SRC))))
$(VOICESPEEXLIB): $(VOICESPEEXLIB_OBJ)
- $(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
+ $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
# pattern rules
diff --git a/apps/codecs/libtremor/libtremor.make b/apps/codecs/libtremor/libtremor.make
index 36af8a1..1bd1b20 100644
--- a/apps/codecs/libtremor/libtremor.make
+++ b/apps/codecs/libtremor/libtremor.make
@@ -15,7 +15,7 @@
$(TREMORLIB): $(TREMORLIB_OBJ)
$(SILENT)$(shell rm -f $@)
- $(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
+ $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
$(CODECDIR)/libtremor/%.o: $(ROOTDIR)/apps/codecs/libtremor/%.c
$(SILENT)mkdir -p $(dir $@)
diff --git a/apps/codecs/libwavpack/libwavpack.make b/apps/codecs/libwavpack/libwavpack.make
index f6e4873..a2e5377 100644
--- a/apps/codecs/libwavpack/libwavpack.make
+++ b/apps/codecs/libwavpack/libwavpack.make
@@ -15,4 +15,4 @@
$(WAVPACKLIB): $(WAVPACKLIB_OBJ)
$(SILENT)$(shell rm -f $@)
- $(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
+ $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
diff --git a/apps/codecs/libwma/libwma.make b/apps/codecs/libwma/libwma.make
index edfd701..71c4cdc 100644
--- a/apps/codecs/libwma/libwma.make
+++ b/apps/codecs/libwma/libwma.make
@@ -15,4 +15,4 @@
$(WMALIB): $(WMALIB_OBJ)
$(SILENT)$(shell rm -f $@)
- $(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
+ $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
diff --git a/apps/plugins/bitmaps/pluginbitmaps.make b/apps/plugins/bitmaps/pluginbitmaps.make
index fa5b9ef..f907219 100644
--- a/apps/plugins/bitmaps/pluginbitmaps.make
+++ b/apps/plugins/bitmaps/pluginbitmaps.make
@@ -38,7 +38,7 @@
$(PLUGINBITMAPLIB): $(PLUGIN_BITMAPS)
$(SILENT)$(shell rm -f $@)
- $(call PRINTS,AR $(@F))$(AR) rs $@ $+ >/dev/null
+ $(call PRINTS,AR $(@F))$(AR) rcs $@ $+ >/dev/null
# pattern rules to create .c files from .bmp, one for each subdir:
$(BUILDDIR)/apps/plugins/bitmaps/mono/%.c: $(ROOTDIR)/apps/plugins/bitmaps/mono/%.bmp $(TOOLSDIR)/bmp2rb
diff --git a/apps/plugins/plugins.make b/apps/plugins/plugins.make
index ef1b605..7314888 100644
--- a/apps/plugins/plugins.make
+++ b/apps/plugins/plugins.make
@@ -47,7 +47,7 @@
$(PLUGINLIB): $(PLUGINLIB_OBJ)
$(SILENT)$(shell rm -f $@)
- $(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
+ $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
$(PLUGINLINK_LDS): $(PLUGIN_LDS)
$(call PRINTS,PP $(@F))
diff --git a/firmware/firmware.make b/firmware/firmware.make
index 373e630..ec24b4e 100644
--- a/firmware/firmware.make
+++ b/firmware/firmware.make
@@ -31,7 +31,7 @@
$(FIRMLIB): $(FIRMLIB_OBJ)
$(SILENT)$(shell rm -f $@)
- $(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
+ $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
$(BUILDDIR)/sysfont.h: $(SYSFONT) $(TOOLS)
$(call PRINTS,CONVBDF $(subst $(ROOTDIR)/,,$<))$(TOOLSDIR)/convbdf -l $(MAXCHAR) -h -o $@ $<
diff --git a/uisimulator/uisimulator.make b/uisimulator/uisimulator.make
index 85622c7..f39d6e0 100644
--- a/uisimulator/uisimulator.make
+++ b/uisimulator/uisimulator.make
@@ -26,7 +26,7 @@
$(SIMLIB): $$(SIMOBJ) $(UIBMP)
$(SILENT)$(shell rm -f $@)
- $(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
+ $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
$(BUILDDIR)/$(BINARY): $$(OBJ) $(SIMLIB) $(VOICESPEEXLIB) $(FIRMLIB)
$(call PRINTS,LD $(BINARY))$(CC) -o $@ $^ $(LDOPTS)