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")
21 ifneq ($(strip $(NO_COLOR
)),1)
27 ifneq ($(KBUILD_VERBOSE
),99)
29 printf
"$(_Y)%s$(_N)\n" "$(1)" >&8
33 ifneq ($(CURDIR
),$(TOPDIR
))
34 _DIR
:=$(patsubst $(TOPDIR
)/%,%,${CURDIR})
38 _NULL
:=$(if
$(MAKECMDGOALS
),$(shell \
39 $(call MESSAGE
, make
[$(MAKELEVEL
)]$(if
$(_DIR
), -C
$(_DIR
)) $(MAKECMDGOALS
)); \
43 ifeq ($(KBUILD_VERBOSE
),0)
44 SILENT
:=>/dev
/null
2>&1
49 SUBMAKE
=cmd
() { $(SILENT
) $(MAKE
) -s
$$* < /dev
/null ||
{ echo
"make $$*: build failed. Please re-run make with V=99 to see what's going on"; false
; } } 8>&1 9>&2; cmd
52 .SILENT
: $(MAKECMDGOALS
)
This page took 0.040329 seconds and 5 git commands to generate.