1
0
Fork 0
forked from len0rd/rockbox

Don't pass ar output to /dev/null.

Since ar is not running in verbose mode there is normally no output to get rid
of, and in case of errors it's useful to see them. Also, Windows doesn't know
about /dev/null.
Make dependency generation for librbspeex more silent as well.

Change-Id: Ie0d4a406e665ebd67331d6cd1fa2fc02f8bf21b9
This commit is contained in:
Dominik Riebeling 2013-05-12 12:18:16 +02:00
parent 15fa7f866f
commit 43d8d6fece
2 changed files with 2 additions and 3 deletions

View file

@ -82,7 +82,6 @@ DEPS = $(addprefix $(BUILD_DIR)/,$(subst .c,.d,$(notdir $(SOURCES))))
-include $(DEPS) -include $(DEPS)
%.d: %.d:
@echo DEP $(notdir $@)
$(SILENT)$(call mkdir,$(BUILD_DIR)) $(SILENT)$(call mkdir,$(BUILD_DIR))
$(SILENT)$(CC) -MG -MM -MT $(subst .d,.o,$@) $(CFLAGS) -o $(BUILD_DIR)/$(notdir $@) $< $(SILENT)$(CC) -MG -MM -MT $(subst .d,.o,$@) $(CFLAGS) -o $(BUILD_DIR)/$(notdir $@) $<
@ -95,7 +94,7 @@ $(TARGET_DIR)rbspeex.dll: $(OBJS) $(BUILD_DIR)/rbspeex.o
$(TARGET_DIR)librbspeex.a: $(OBJS) $(BUILD_DIR)/rbspeex.o $(TARGET_DIR)librbspeex.a: $(OBJS) $(BUILD_DIR)/rbspeex.o
@echo AR $(notdir $@) @echo AR $(notdir $@)
$(SILENT)$(CROSS)$(AR) rcs $@ $^ > /dev/null 2>&1 $(SILENT)$(CROSS)$(AR) rcs $@ $^
librbspeex.a: $(TARGET_DIR)librbspeex.a librbspeex.a: $(TARGET_DIR)librbspeex.a

View file

@ -72,7 +72,7 @@ $(TARGET_DIR)ucl.dll: $(OBJS)
$(TARGET_DIR)libucl$(RBARCH).a: $(OBJS) $(TARGET_DIR)libucl$(RBARCH).a: $(OBJS)
@echo AR $(notdir $@) @echo AR $(notdir $@)
$(SILENT)$(CROSS)$(AR) rcs $@ $(OBJS) >/dev/null 2>&1 $(SILENT)$(CROSS)$(AR) rcs $@ $(OBJS)
$(OBJDIR)/%.o: %.c $(OBJDIR)/%.o: %.c
@echo CC $< @echo CC $<