summaryrefslogtreecommitdiff
path: root/package/madwifi/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-08-01 21:29:15 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-08-01 21:29:15 +0000
commitf6852f20237d9b35ad9eea24e029f43ee0d30a49 (patch)
tree6bea0a53644f76b757aa23036dd21bd41330a7ae /package/madwifi/patches
parent9ce792f4441675792b420420c2f117d7c19977be (diff)
downloadmtk-20170518-f6852f20237d9b35ad9eea24e029f43ee0d30a49.zip
mtk-20170518-f6852f20237d9b35ad9eea24e029f43ee0d30a49.tar.gz
mtk-20170518-f6852f20237d9b35ad9eea24e029f43ee0d30a49.tar.bz2
madwifi: disable debug by default in the source tree instead of only relying on the override (useful for external builds)
SVN-Revision: 17085
Diffstat (limited to 'package/madwifi/patches')
-rw-r--r--package/madwifi/patches/200-no_debug.patch8
1 files changed, 5 insertions, 3 deletions
diff --git a/package/madwifi/patches/200-no_debug.patch b/package/madwifi/patches/200-no_debug.patch
index ed44389..5e5eb04 100644
--- a/package/madwifi/patches/200-no_debug.patch
+++ b/package/madwifi/patches/200-no_debug.patch
@@ -204,12 +204,14 @@
#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