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.
8 ifeq ($(NO_TRACE_MAKE
),)
9 NO_TRACE_MAKE
:= $(MAKE
) V
=99
16 ifeq ("$(origin V)", "command line")
25 ifneq ($(KBUILD_VERBOSE
),99)
27 printf
"$(_Y)%s$(_N)\n" "$(1)" >&8
31 ifneq ($(CURDIR
),$(TOPDIR
))
32 _DIR
:=$(patsubst $(TOPDIR
)/%,%,${CURDIR})
36 _NULL
:=$(if
$(MAKECMDGOALS
),$(shell \
37 $(call MESSAGE
, make
[$(MAKELEVEL
)]$(if
$(_DIR
), -C
$(_DIR
)) $(MAKECMDGOALS
)); \
41 ifeq ($(KBUILD_VERBOSE
),0)
42 SILENT
:=>/dev
/null
2>&1
47 SUBMAKE
=cmd
() { $(SILENT
) $(MAKE
) -s
$$* ||
{ echo
"make $$*: build failed. Please re-run make with V=99 to see what's going on"; false
; } } 8>&1 9>&2; cmd
50 .SILENT
: $(MAKECMDGOALS
)
This page took 0.042045 seconds and 5 git commands to generate.