call make with quite-command
PATCH 1/1 call make with quite-command
On top of new config series. Remove the make directory printing.
--- Makefile | 3 ++- Makefile.target | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-)
Makefile +2 -1
@@ -28,6 +28,7 @@ DOCS= endif SUBDIR_DEVICES_MAK=$(patsubst %, %/config-devices.mak, $(TARGET_DIRS)) +SUBDIR_MAKEFLAGS=$(if $(V),,--no-print-directory) config-all-devices.mak: $(SUBDIR_DEVICES_MAK) $(call quiet-command,grep "=y$$" $(SUBDIR_DEVICES_MAK) | sort -u > $@," GEN $@")
@@ -35,7 +36,7 @@ config-all-devices.mak: $(SUBDIR_DEVICES_MAK) include config-all-devices.mak build-all: config-host.h - $(MAKE) $(TOOLS) $(DOCS) recurse-all + $(call quiet-command, $(MAKE) $(SUBDIR_MAKEFLAGS) $(TOOLS) $(DOCS) recurse-all,) config-host.h: config-host.h-timestamp config-host.h-timestamp: config-host.mak
Makefile.target +1 -1
@@ -31,7 +31,7 @@ config-target.h: config-target.h-timestamp config-target.h-timestamp: config-target.mak all: config-target.h - $(MAKE) $(PROGS) + $(call quiet-command, $(MAKE) $(PROGS),) # Dummy command so that make thinks it has done something @true
Signature · 1 line
1.6.2.5
Hi,
"quite command"?
Makefile config-all-devices.mak: $(SUBDIR_DEVICES_MAK) · line 39
Quoted 1 line · Juan Quintela
Makefile +1
-0+ $(call quiet-command, $(MAKE) $(SUBDIR_MAKEFLAGS) $(TOOLS) $(DOCS) recurse-all,)
Ah. "quiet" command.
How dependent is that on GNU make?
Ciao,
Dscho
Quoted 11 lines · Johannes Schindelin
Hi,
"quite command"?
Makefile config-all-devices.mak: $(SUBDIR_DEVICES_MAK) · line 39
Quoted 1 line · Juan Quintela
Makefile +1
-0+ $(call quiet-command, $(MAKE) $(SUBDIR_MAKEFLAGS) $(TOOLS) $(DOCS) recurse-all,)Ah. "quiet" command.
How dependent is that on GNU make?
I hope nothing.
quiet-command = $(if $(V),$1,$(if $(2),@echo $2 && $1, @$1))
that is its definition. I hope/guess that $(if ...) is normal make.
Humm, looking at POSIX, it appears that they don't have functions at all, but they don't have % rules either :p
Later, Juan.
Quoted 2 lines
Ciao,
Dscho
Quoted 7 lines · Juan Quintela
Quoted 6 lines · Johannes Schindelin
Hi,
"quite command"?
On Sat, 29 Aug 2009, Juan Quintela wrote:
Quoted 7 lines
Quoted 5 lines
Makefile config-all-devices.mak: $(SUBDIR_DEVICES_MAK) · line 39
Quoted 1 line
Makefile +1
-0+ $(call quiet-command, $(MAKE) $(SUBDIR_MAKEFLAGS) $(TOOLS) $(DOCS) recurse-all,)Ah. "quiet" command.
How dependent is that on GNU make?
I hope nothing.
Actually, very. :-) But anyway qemu does not compile without GNU make.
Paolo