change DEBUG_DIR to DEBUG_SCOPE_DIR (to avoid conflict with rules.mk)
authorRalph Hempel <ralph.hempel@lantiq.com>
Fri, 20 Feb 2009 10:30:21 +0000 (10:30 +0000)
committerRalph Hempel <ralph.hempel@lantiq.com>
Fri, 20 Feb 2009 10:30:21 +0000 (10:30 +0000)
SVN-Revision: 14575

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