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.
9 ifeq ($(NO_TRACE_MAKE
),)
10 NO_TRACE_MAKE
:= $(MAKE
) V
=99
17 ifeq ("$(origin V)", "command line")
22 _Y
:="\\033[33m" # yellow
27 echo
-e
"$(_Y)$(1)$(_N)" >&3
30 ifneq ($(KBUILD_VERBOSE
),99)
32 $(MAKECMDGOALS
): trace
34 @
[ -f
"$(MAKECMDGOALS)" ] ||
{ \
35 [ -z
"$${PWD##$$TOPDIR}" ] || DIR
=" -C $${PWD##$$TOPDIR/}"; \
36 $(call MESSAGE
, "make[$$(($(MAKELEVEL)+1))]$$DIR $(MAKECMDGOALS)"); \
40 ifeq ($(KBUILD_VERBOSE
),0)
41 MAKE
:=&>/dev
/null
$(MAKE
)
43 MAKE
:=cmd
() { $(MAKE
) $$* ||
{ echo
"Build failed. Please re-run make with V=99 to see what's going on"; false
; } } 3>&1 4>&2; cmd
46 .SILENT
: $(MAKECMDGOALS
)
This page took 0.03959 seconds and 5 git commands to generate.