aboutsummaryrefslogtreecommitdiffstats
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
commit45b7e293c3a10d24788aed1aea673e5a82d45d43 (patch)
treedc93069af0306f78df441ec181ddaab4d857694f /package/madwifi/patches
parent9b19c72b56b362dab2b4c0a3903a0f3c87d75ed8 (diff)
downloadupstream-45b7e293c3a10d24788aed1aea673e5a82d45d43.tar.gz
upstream-45b7e293c3a10d24788aed1aea673e5a82d45d43.tar.bz2
upstream-45b7e293c3a10d24788aed1aea673e5a82d45d43.zip
madwifi: disable debug by default in the source tree instead of only relying on the override (useful for external builds)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17085 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 ed443893a6..5e5eb04547 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