2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
10 # d: show subdirectory tree
11 # t: show added targets
12 # l: show legacy targets
13 # r: show autorebuild messages
14 # v: verbose (no .SILENCE for common targets)
25 $$(findstring $(2),$$(if $$(DEBUG_DIR),$$(if $$(filter $$(DEBUG_DIR)%,$(1)),$(build_debug)),$(build_debug)))
29 $$(if $(call debug,$(1),$(2)),$$(warning $(3)))
33 $$(if $(call debug,$(1),$(2)),$(3))
37 $(call warn,$(1),$(2),$(3) $(4))