From 8cb2e2c8d9af7574bff3b539abd5d485b7e5fa09 Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 1 Aug 2009 21:29:15 +0000 Subject: [PATCH] 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 --- package/madwifi/patches/200-no_debug.patch | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/package/madwifi/patches/200-no_debug.patch b/package/madwifi/patches/200-no_debug.patch index ed443893a..5e5eb0454 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 -- 2.20.1