madwifi: disable debug by default in the source tree instead of only relying on the...
authorFelix Fietkau <nbd@openwrt.org>
Sat, 1 Aug 2009 21:29:15 +0000 (21:29 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 1 Aug 2009 21:29:15 +0000 (21:29 +0000)
SVN-Revision: 17085

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