madwifi: disable debug by default in the source tree instead of only relying on the...
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 1 Aug 2009 21:29:15 +0000 (21:29 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 1 Aug 2009 21:29:15 +0000 (21:29 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17085 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/madwifi/patches/200-no_debug.patch

index ed44389..5e5eb04 100644 (file)
  #include <linux/wireless.h>
 --- a/Makefile.inc
 +++ b/Makefile.inc
-@@ -148,7 +148,8 @@ ATH_RATE=  $(TOP)/ath_rate
+@@ -147,8 +147,9 @@ ATH_RATE=  $(TOP)/ath_rate
+ # 
  TOOLS=  $(TOP)/tools 
  
- WARNINGS = -Werror
+-WARNINGS = -Werror
 -COPTS+= $(WARNINGS)
-+DEBUG = -DAR_DEBUG -DIEEE80211_DEBUG
++WARNINGS = -Wno-unused
++# DEBUG = -DAR_DEBUG -DIEEE80211_DEBUG
 +COPTS+= $(WARNINGS) $(DEBUG)
  INCS= -include $(TOP)/include/compat.h -I$(TOP)/include
  
This page took 0.024648 seconds and 4 git commands to generate.