1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-01-11 18:40:16 +02:00

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
This commit is contained in:
nbd 2009-08-01 21:29:15 +00:00
parent b577ffc8a5
commit 8cb2e2c8d9

View File

@ -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