hello,

... the command line option DEBUG=all (and friends) seems to be broken.

I've renamed the DEBUG_DIR to DEBUG_SCOPE_DIR with the patch below. Any doubts ?

In previous versions of the trunk it was possible to limit the debug scope by 
setting the DEBUG_DIR by hand.
Now the DEBUG_DIR is already used by rules.mk .

thanks
Ralph

--
Index: include/debug.mk
===================================================================
--- include/debug.mk    (revision 14330)
+++ include/debug.mk    (working copy)
@@ -22,7 +22,7 @@
 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

Attachment: debug.mk.patch
Description: debug.mk.patch

_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to