1 # SPDX-License-Identifier: GPL-2.0-only
3 # Copyright (C) 2007-2020 OpenWrt.org
7 # d: show subdirectory tree
8 # t: show added targets
9 # l: show legacy targets
10 # r: show autorebuild messages
11 # v: verbose (no .SILENCE for common targets)
24 $$(findstring $(2),$$(if
$$(DEBUG_SCOPE_DIR
),$$(if
$$(filter $$(DEBUG_SCOPE_DIR
)%,$(1)),$(build_debug
)),$(build_debug
)))
28 $$(if
$(call debug
,$(1),$(2)),$$(warning
$(3)))
32 $$(if
$(call debug
,$(1),$(2)),$(3))
36 $(call warn
,$(1),$(2),$(3) $(4))