From: Thomas Monjalon Date: Thu, 16 Jun 2016 21:56:37 +0000 (+0200) Subject: mk: mute build of test resources X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=8688b18a997ecb8938a4e86f14407967fa1b6a0e;p=dpdk.git mk: mute build of test resources The objcopy and tar commands were printed even in quiet mode. They are now replaced by a simple line and still visible in verbose mode. Fixes: ab64f5df8004 ("app/test: support resources externally linked") Fixes: 66819e6c11d8 ("app/test: support resources archived by tar") Signed-off-by: Thomas Monjalon Acked-by: Bruce Richardson --- diff --git a/app/test/Makefile b/app/test/Makefile index 053f3a2a9a..5e3ebdccdc 100644 --- a/app/test/Makefile +++ b/app/test/Makefile @@ -42,7 +42,8 @@ ifeq ($(CONFIG_RTE_APP_TEST),y) define linked_resource SRCS-y += $(1).res.o $(1).res.o: $(2) - $(OBJCOPY) -I binary -B $(RTE_OBJCOPY_ARCH) -O $(RTE_OBJCOPY_TARGET) \ + @ echo ' MKRES $$@' + $Q $(OBJCOPY) -I binary -B $(RTE_OBJCOPY_ARCH) -O $(RTE_OBJCOPY_TARGET) \ --rename-section \ .data=.rodata,alloc,load,data,contents,readonly \ --redefine-sym _binary__dev_stdin_start=beg_$(1) \ @@ -54,7 +55,8 @@ endef ifeq ($(CONFIG_RTE_APP_TEST_RESOURCE_TAR),y) define linked_tar_resource $(1).tar: $(2) - tar -C $$(dir $$<) -cf $$@ $$(notdir $$<) + @ echo ' TAR $$@' + $Q tar -C $$(dir $$<) -cf $$@ $$(notdir $$<) $(call linked_resource,$(1),$(1).tar) endef else # ! CONFIG_RTE_APP_TEST_RESOURCE_TAR