2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
11 ifeq ("$(origin V)", "command line")
16 ifneq ($(KBUILD_VERBOSE),99)
18 $(MAKECMDGOALS): trace
20 @[ -f "$(MAKECMDGOALS)" ] || { \
21 [ -z "$${PWD##$$TOPDIR}" ] || DIR=" -C $${PWD##$$TOPDIR/}"; \
22 echo -e "\33[33mmake[$$(($(MAKELEVEL)+1))]$$DIR $(MAKECMDGOALS)\33[m" >&3; \
26 NO_TRACE_MAKE:=$(MAKE) V=99
27 ifeq ($(KBUILD_VERBOSE),0)
28 MAKE:=&>/dev/null $(MAKE)
30 MAKE:=3>&1 4>&2 $(MAKE)
33 .SILENT: $(MAKECMDGOALS)