From: Felix Fietkau Date: Sat, 1 Aug 2009 21:29:15 +0000 (+0000) Subject: madwifi: disable debug by default in the source tree instead of only relying on the... X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=6cda0d14618201923baf118627b4fbda5133b456;hp=e93e301b701ece6af97e59e179beb36cfb06e568 madwifi: disable debug by default in the source tree instead of only relying on the override (useful for external builds) SVN-Revision: 17085 --- 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 --- 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