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
19 ifeq ("$(origin V)", "command line")
29 printf
"$(_Y)%s$(_N)\n" "$(1)" >&3
32 ifneq ($(KBUILD_VERBOSE
),99)
34 ifneq ($(CURDIR
),$(TOPDIR
))
35 _DIR
:=$(patsubst $(TOPDIR
)/%,%,${CURDIR})
39 _NULL
:=$(if
$(MAKECMDGOALS
),$(shell \
40 $(call MESSAGE
, make
[$(MAKELEVEL
)]$(if
$(_DIR
), -C
$(_DIR
)) $(MAKECMDGOALS
)); \
43 ifeq ($(KBUILD_VERBOSE
),0)
44 MAKE
:=>/dev
/null
2>&1 $(MAKE
)
47 MAKE
:=cmd
() { $(MAKE
) -s
$$* ||
{ echo
"make $$*: build failed. Please re-run make with V=99 to see what's going on"; false
; } } 3>&1 4>&2; cmd
50 .SILENT
: $(MAKECMDGOALS
)
This page took 0.055069 seconds and 5 git commands to generate.