From 27493a7b902710e5535b374232a173bcef1221fd Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Sun, 2 Jun 2019 16:23:57 +0200 Subject: [PATCH] makefile: silent fpga_compressor stdout by default --- armsrc/Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/armsrc/Makefile b/armsrc/Makefile index d55b0e5a7..7fda76b99 100644 --- a/armsrc/Makefile +++ b/armsrc/Makefile @@ -185,7 +185,11 @@ $(OBJDIR)/fpga_all.o: $(OBJDIR)/fpga_all.bit.z $(OBJDIR)/fpga_all.bit.z: $(FPGA_BITSTREAMS) $(FPGA_COMPRESSOR) $(info [-] GEN $@) - $(Q)$(FPGA_COMPRESSOR) $(filter %.bit,$^) $@ +ifeq ($(Q),@) + @$(FPGA_COMPRESSOR) $(filter %.bit,$^) $@ >/dev/null +else + $(FPGA_COMPRESSOR) $(filter %.bit,$^) $@ +endif $(FPGA_COMPRESSOR): $(info [*] MAKE $@) @@ -209,7 +213,11 @@ $(OBJDIR)/fullimage.data.bin: $(OBJDIR)/fullimage.stage1.elf $(OBJDIR)/fullimage.data.bin.z: $(OBJDIR)/fullimage.data.bin $(FPGA_COMPRESSOR) $(info [-] GEN $@) - $(Q)$(FPGA_COMPRESSOR) $(filter %.bin,$^) $@ +ifeq ($(Q),@) + @$(FPGA_COMPRESSOR) $(filter %.bin,$^) $@ >/dev/null +else + $(FPGA_COMPRESSOR) $(filter %.bin,$^) $@ +endif $(OBJDIR)/fullimage.data.o: $(OBJDIR)/fullimage.data.bin.z $(info [-] GEN $@)