Skip to contentSkip to conversation

Silent wrapper Suppose we use Makefile wrapper and build some project out of buildroot tree (O=...). The commands like "make busybox-all-external-deps" will output the string "uname 022 && make ..." to stdout before the usefull information. It pollutes stdout. In the same time if we use the same command in the buildroot source-tree then we don't get the additional output. Some external scripts can analyze output of make and additional output can break them. This patch make wrapper silent.

PATCH New Serj Kalichev 1 participant 1 message Oct 24, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Silent wrapper Suppose we use Makefile wrapper and build some project out of buildroot tree (O=...). The commands like "make busybox-all-external-deps" will output the string "uname 022 && make ..." to stdout before the usefull information. It pollutes stdout. In the same time if we use the same command in the buildroot source-tree then we don't get the additional output. Some external scripts can analyze output of make and additional output can break them. This patch make wrapper silent.

---
 support/scripts/mkmakefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
support/scripts/mkmakefile +1 -1
index 37162a3173..3b1a9f8774 100755
@@ -33,7 +33,7 @@ MAKEFLAGS += --no-print-directory
 all	:= \$(filter-out Makefile,\$(MAKECMDGOALS))
 
 _all:
-	umask 0022 && \$(MAKE) \$(MAKEARGS) \$(all)
+	@umask 0022 && \$(MAKE) \$(MAKEARGS) \$(all)
 
 Makefile:;
 
Signature · 1 line
2.17.1