Stop hiding errors by redirecting stderr to /dev/null. If we really need to do re-introduce somewhere we should rather make it dependent on the V variable so that make V=1 would still show the error and only "normal" builds would hide it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20090 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b1dccc47fd
commit
2e6d604bb6
20 changed files with 22 additions and 22 deletions
|
@ -15,7 +15,7 @@ OTHER_SRC += $(DEMACLIB_SRC)
|
|||
|
||||
$(DEMACLIB): $(DEMACLIB_OBJ)
|
||||
$(SILENT)$(shell rm -f $@)
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null 2>&1
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
|
||||
|
||||
DEMACFLAGS = $(filter-out -O%,$(CODECFLAGS))
|
||||
DEMACFLAGS += -O3
|
||||
|
|
|
@ -14,7 +14,7 @@ OTHER_SRC += $(CODECLIB_SRC)
|
|||
|
||||
$(CODECLIB): $(CODECLIB_OBJ)
|
||||
$(SILENT)$(shell rm -f $@)
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null 2>&1
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
|
||||
|
||||
CODECLIBFLAGS = $(CODECFLAGS) -ffunction-sections
|
||||
|
||||
|
|
|
@ -15,4 +15,4 @@ OTHER_SRC += $(A52LIB_SRC)
|
|||
|
||||
$(A52LIB): $(A52LIB_OBJ)
|
||||
$(SILENT)$(shell rm -f $@)
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null 2>&1
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
|
||||
|
|
|
@ -15,7 +15,7 @@ OTHER_SRC += $(ALACLIB_SRC)
|
|||
|
||||
$(ALACLIB): $(ALACLIB_OBJ)
|
||||
$(SILENT)$(shell rm -f $@)
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null 2>&1
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
|
||||
|
||||
ALACFLAGS = $(filter-out -O%,$(CODECFLAGS))
|
||||
ALACFLAGS += -O3
|
||||
|
|
|
@ -15,7 +15,7 @@ OTHER_SRC += $(ASAPLIB_SRC)
|
|||
|
||||
$(ASAPLIB): $(ASAPLIB_OBJ)
|
||||
$(SILENT)$(shell rm -f $@)
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null 2>&1
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
|
||||
|
||||
ASAPFLAGS = $(filter-out -O%,$(CODECFLAGS))
|
||||
ASAPFLAGS += -O1
|
||||
|
|
|
@ -16,4 +16,4 @@ OTHER_INC += -I$(APPSDIR)/codecs/libfaad
|
|||
|
||||
$(FAADLIB): $(FAADLIB_OBJ)
|
||||
$(SILENT)$(shell rm -f $@)
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null 2>&1
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
|
||||
|
|
|
@ -15,4 +15,4 @@ OTHER_SRC += $(FFMPEGFLACLIB_SRC)
|
|||
|
||||
$(FFMPEGFLACLIB): $(FFMPEGFLACLIB_OBJ)
|
||||
$(SILENT)$(shell rm -f $@)
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null 2>&1
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
|
||||
|
|
|
@ -15,7 +15,7 @@ OTHER_SRC += $(M4ALIB_SRC)
|
|||
|
||||
$(M4ALIB): $(M4ALIB_OBJ)
|
||||
$(SILENT)$(shell rm -f $@)
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null 2>&1
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
|
||||
|
||||
M4AFLAGS = $(filter-out -O%,$(CODECFLAGS))
|
||||
M4AFLAGS += -O3
|
||||
|
|
|
@ -22,7 +22,7 @@ OTHER_SRC += $(MADLIB_SRC)
|
|||
|
||||
$(MADLIB): $(MADLIB_OBJ)
|
||||
$(SILENT)$(shell rm -f $@)
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null 2>&1
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
|
||||
|
||||
# libmad-mpeg
|
||||
MPEGMADLIB := $(CODECDIR)/libmad-mpeg.a
|
||||
|
@ -30,7 +30,7 @@ MPEGMADLIB_SRC := $(call preprocess, $(APPSDIR)/codecs/libmad/SOURCES)
|
|||
MPEGMADLIB_OBJ := $(addsuffix .o,$(basename $(subst $(ROOTDIR)/apps/codecs/libmad,$(BUILDDIR)/apps/codecs/libmad-mpeg,$(MPEGMADLIB_SRC))))
|
||||
|
||||
$(MPEGMADLIB): $(MPEGMADLIB_OBJ)
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null 2>&1
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
|
||||
|
||||
# pattern rules
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ OTHER_SRC += $(MUSEPACKLIB_SRC)
|
|||
|
||||
$(MUSEPACKLIB): $(MUSEPACKLIB_OBJ)
|
||||
$(SILENT)$(shell rm -f $@)
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null 2>&1
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
|
||||
|
||||
# libmusepack is faster on ARM-targets with -O1 than -O2
|
||||
MUSEPACKFLAGS = $(filter-out -O%,$(CODECFLAGS)) -I$(APPSDIR)/codecs/libmusepack
|
||||
|
|
|
@ -15,7 +15,7 @@ OTHER_SRC += $(SPCLIB_SRC)
|
|||
|
||||
$(SPCLIB): $(SPCLIB_OBJ)
|
||||
$(SILENT)$(shell rm -f $@)
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null 2>&1
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
|
||||
|
||||
SPCFLAGS = $(filter-out -O%,$(CODECFLAGS))
|
||||
SPCFLAGS += -O1
|
||||
|
|
|
@ -32,7 +32,7 @@ OTHER_SRC += $(SPEEXLIB_SRC)
|
|||
|
||||
$(SPEEXLIB): $(SPEEXLIB_OBJ)
|
||||
$(SILENT)$(shell rm -f $@)
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null 2>&1
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
|
||||
|
||||
# libspeex-voice
|
||||
VOICESPEEXLIB := $(CODECDIR)/libspeex-voice.a
|
||||
|
@ -40,7 +40,7 @@ VOICESPEEXLIB_SRC := $(call preprocess, $(APPSDIR)/codecs/libspeex/SOURCES)
|
|||
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 2>&1
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
|
||||
|
||||
# pattern rules
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ OTHER_SRC += $(TREMORLIB_SRC)
|
|||
|
||||
$(TREMORLIB): $(TREMORLIB_OBJ)
|
||||
$(SILENT)$(shell rm -f $@)
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null 2>&1
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
|
||||
|
||||
$(CODECDIR)/libtremor/%.o: $(ROOTDIR)/apps/codecs/libtremor/%.c
|
||||
$(SILENT)mkdir -p $(dir $@)
|
||||
|
|
|
@ -15,4 +15,4 @@ OTHER_SRC += $(WAVPACKLIB_SRC)
|
|||
|
||||
$(WAVPACKLIB): $(WAVPACKLIB_OBJ)
|
||||
$(SILENT)$(shell rm -f $@)
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null 2>&1
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
|
||||
|
|
|
@ -15,4 +15,4 @@ OTHER_SRC += $(WMALIB_SRC)
|
|||
|
||||
$(WMALIB): $(WMALIB_OBJ)
|
||||
$(SILENT)$(shell rm -f $@)
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null 2>&1
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
|
||||
|
|
|
@ -38,7 +38,7 @@ $(PBMPHFILES): $(PLUGIN_BITMAPS)
|
|||
|
||||
$(PLUGINBITMAPLIB): $(PLUGIN_BITMAPS)
|
||||
$(SILENT)$(shell rm -f $@)
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $+ >/dev/null 2>&1
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $+ >/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
|
||||
|
|
|
@ -47,7 +47,7 @@ $(ROCKS): $(PLUGINLIB) $(APPSDIR)/plugin.h $(PLUGINLINK_LDS) $(PLUGINBITMAPLIB)
|
|||
|
||||
$(PLUGINLIB): $(PLUGINLIB_OBJ)
|
||||
$(SILENT)$(shell rm -f $@)
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null 2>&1
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
|
||||
|
||||
$(PLUGINLINK_LDS): $(PLUGIN_LDS)
|
||||
$(call PRINTS,PP $(@F))
|
||||
|
|
|
@ -31,7 +31,7 @@ endif
|
|||
|
||||
$(FIRMLIB): $(FIRMLIB_OBJ)
|
||||
$(SILENT)$(shell rm -f $@)
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null 2>&1
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
|
||||
|
||||
$(BUILDDIR)/sysfont.h: $(SYSFONT) $(TOOLS)
|
||||
$(call PRINTS,CONVBDF $(subst $(ROOTDIR)/,,$<))$(TOOLSDIR)/convbdf -l $(MAXCHAR) -h -o $@ $<
|
||||
|
|
|
@ -169,7 +169,7 @@ $(BUILDDIR)/$(BINARY) : $(BUILDDIR)/rockbox.bin $(FLASHFILE)
|
|||
|
||||
# archos
|
||||
$(BUILDDIR)/rockbox.ucl: $(BUILDDIR)/rockbox.bin
|
||||
$(call PRINTS,UCLPACK $(@F))$(TOOLSDIR)/uclpack --best --2e -b1048576 $< $@ >/dev/null 2>&1
|
||||
$(call PRINTS,UCLPACK $(@F))$(TOOLSDIR)/uclpack --best --2e -b1048576 $< $@ >/dev/null
|
||||
|
||||
MAXINFILE = $(BUILDDIR)/temp.txt
|
||||
MAXOUTFILE = $(BUILDDIR)/romstart.txt
|
||||
|
|
|
@ -26,7 +26,7 @@ UIBMP = $(BUILDDIR)/UI256.bmp
|
|||
|
||||
$(SIMLIB): $$(SIMOBJ) $(UIBMP)
|
||||
$(SILENT)$(shell rm -f $@)
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null 2>&1
|
||||
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null
|
||||
|
||||
$(BUILDDIR)/$(BINARY): $$(OBJ) $(SIMLIB) $(VOICESPEEXLIB) $(FIRMLIB)
|
||||
$(call PRINTS,LD $(BINARY))$(CC) -o $@ $^ $(LDOPTS)
|
||||
|
|
Loading…
Reference in a new issue