You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/11/08 07:01:32 UTC

[incubator-nuttx] branch releases/10.0 updated: Avoid messing the final binary nuttx.(bin, hex, ...) compilation msg

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch releases/10.0
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/releases/10.0 by this push:
     new 28be769  Avoid messing the final binary nuttx.(bin,hex,...) compilation msg
28be769 is described below

commit 28be76903563c7c31e690d34825b787ebc747c18
Author: Alan C. Assis <ac...@gmail.com>
AuthorDate: Wed Nov 4 17:49:39 2020 -0300

    Avoid messing the final binary nuttx.(bin,hex,...) compilation msg
---
 tools/Makefile.unix | 12 ++++++------
 tools/Makefile.win  | 10 +++++-----
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/tools/Makefile.unix b/tools/Makefile.unix
index 1d2bb15..c0b5535 100644
--- a/tools/Makefile.unix
+++ b/tools/Makefile.unix
@@ -416,22 +416,22 @@ endif
 	$(Q) if [ -w /tftpboot ] ; then \
 		cp -f $(BIN) /tftpboot/$(BIN).${CONFIG_ARCH}; \
 	fi
-	echo $(BIN) > $(NUTTXNAME).manifest
-	printf "%s\n" *.map >> $(NUTTXNAME).manifest
+	$(Q) echo $(BIN) > $(NUTTXNAME).manifest
+	$(Q) printf "%s\n" *.map >> $(NUTTXNAME).manifest
 ifeq ($(CONFIG_INTELHEX_BINARY),y)
 	@echo "CP: $(NUTTXNAME).hex"
 	$(Q) $(OBJCOPY) $(OBJCOPYARGS) -O ihex $(BIN) $(NUTTXNAME).hex
-	echo $(NUTTXNAME).hex >> $(NUTTXNAME).manifest
+	$(Q) echo $(NUTTXNAME).hex >> $(NUTTXNAME).manifest
 endif
 ifeq ($(CONFIG_MOTOROLA_SREC),y)
 	@echo "CP: $(NUTTXNAME).srec"
 	$(Q) $(OBJCOPY) $(OBJCOPYARGS) -O srec $(BIN) $(NUTTXNAME).srec
-	echo $(NUTTXNAME).srec >> $(NUTTXNAME).manifest
+	$(Q) echo $(NUTTXNAME).srec >> $(NUTTXNAME).manifest
 endif
 ifeq ($(CONFIG_RAW_BINARY),y)
 	@echo "CP: $(NUTTXNAME).bin"
 	$(Q) $(OBJCOPY) $(OBJCOPYARGS) -O binary $(BIN) $(NUTTXNAME).bin
-	echo $(NUTTXNAME).bin >> $(NUTTXNAME).manifest
+	$(Q) echo $(NUTTXNAME).bin >> $(NUTTXNAME).manifest
 endif
 ifeq ($(CONFIG_UBOOT_UIMAGE),y)
 	@echo "MKIMAGE: uImage"
@@ -440,7 +440,7 @@ ifeq ($(CONFIG_UBOOT_UIMAGE),y)
 	$(Q) if [ -w /tftpboot ] ; then \
 		cp -f uImage /tftpboot/uImage; \
 	fi
-	echo "uImage" >> $(NUTTXNAME).manifest
+	$(Q) echo "uImage" >> $(NUTTXNAME).manifest
 endif
 	$(call POSTBUILD, $(TOPDIR))
 
diff --git a/tools/Makefile.win b/tools/Makefile.win
index 932e2c0..a826d76 100644
--- a/tools/Makefile.win
+++ b/tools/Makefile.win
@@ -384,22 +384,22 @@ ifeq ($(CONFIG_BUILD_2PASS),y)
 	$(Q) $(MAKE) -C $(CONFIG_PASS1_BUILDIR) LINKLIBS="$(LINKLIBS)" USERLIBS="$(USERLIBS)" "$(CONFIG_PASS1_TARGET)"
 endif
 	$(Q) $(MAKE) -C $(ARCH_SRC) EXTRA_OBJS="$(EXTRA_OBJS)" LINKLIBS="$(LINKLIBS)" EXTRAFLAGS="$(KDEFINE) $(EXTRAFLAGS)" $(BIN)
-	echo $(BIN) > $(NUTTXNAME).manifest
-	printf '%s\n' *.map >> $(NUTTXNAME).manifest
+	$(Q) echo $(BIN) > $(NUTTXNAME).manifest
+	$(Q) printf '%s\n' *.map >> $(NUTTXNAME).manifest
 ifeq ($(CONFIG_INTELHEX_BINARY),y)
 	@echo "CP: $(NUTTXNAME).hex"
 	$(Q) $(OBJCOPY) $(OBJCOPYARGS) -O ihex $(BIN) $(NUTTXNAME).hex
-	echo $(NUTTXNAME).hex >> $(NUTTXNAME).manifest
+	$(Q) echo $(NUTTXNAME).hex >> $(NUTTXNAME).manifest
 endif
 ifeq ($(CONFIG_MOTOROLA_SREC),y)
 	@echo "CP: $(NUTTXNAME).srec"
 	$(Q) $(OBJCOPY) $(OBJCOPYARGS) -O srec $(BIN) $(NUTTXNAME).srec
-	echo $(NUTTXNAME).srec >> $(NUTTXNAME).manifest
+	$(Q) echo $(NUTTXNAME).srec >> $(NUTTXNAME).manifest
 endif
 ifeq ($(CONFIG_RAW_BINARY),y)
 	@echo "CP: $(NUTTXNAME).bin"
 	$(Q) $(OBJCOPY) $(OBJCOPYARGS) -O binary $(BIN) $(NUTTXNAME).bin
-	echo $(NUTTXNAME).bin >> $(NUTTXNAME).manifest
+	$(Q) echo $(NUTTXNAME).bin >> $(NUTTXNAME).manifest
 endif
 	$(call POSTBUILD, $(TOPDIR))