change DEBUG_DIR to DEBUG_SCOPE_DIR (to avoid conflict with rules.mk)
[openwrt.git] / include / debug.mk
index 68d70ba..faead04 100644 (file)
@@ -22,7 +22,7 @@ ifeq ($(DUMP),)
 endif
 
 define debug
-$$(findstring $(2),$$(if $$(DEBUG_DIR),$$(if $$(filter $$(DEBUG_DIR)%,$(1)),$(build_debug)),$(build_debug)))
+$$(findstring $(2),$$(if $$(DEBUG_SCOPE_DIR),$$(if $$(filter $$(DEBUG_SCOPE_DIR)%,$(1)),$(build_debug)),$(build_debug)))
 endef
 
 define warn
This page took 0.024662 seconds and 4 git commands to generate.