projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
package/zlib: update to zlib-1.2.5
[openwrt.git]
/
package
/
madwifi
/
patches
/
200-no_debug.patch
diff --git
a/package/madwifi/patches/200-no_debug.patch
b/package/madwifi/patches/200-no_debug.patch
index
ed44389
..
d5f285c
100644
(file)
--- a/
package/madwifi/patches/200-no_debug.patch
+++ b/
package/madwifi/patches/200-no_debug.patch
@@
-173,16
+173,17
@@
if(strcmp(progname, "athstats") == 0)
--- a/tools/Makefile
+++ b/tools/Makefile
if(strcmp(progname, "athstats") == 0)
--- a/tools/Makefile
+++ b/tools/Makefile
-@@ -48,
6 +48,8
@@ endif
+@@ -48,
14 +48,16
@@ endif
all: compile
+DEBUG = -DAR_DEBUG
+
ALLPROGS= athstats 80211stats athkey athchans athctrl \
all: compile
+DEBUG = -DAR_DEBUG
+
ALLPROGS= athstats 80211stats athkey athchans athctrl \
- athdebug 80211debug wlanconfig ath_info
+- athdebug 80211debug wlanconfig ath_info
++ $(if $(DEBUG),athdebug 80211debug) wlanconfig ath_info
-
@@ -55,7 +57,7 @@ OBJS=
$(patsubst %,%.o,$(ALLPROGS))
+
OBJS=
$(patsubst %,%.o,$(ALLPROGS))
INCS= -I. -I../ath -I$(HAL) -I$(TOP) -I$(ATH_HAL)
CFLAGS= -g -O2 -Wall
INCS= -I. -I../ath -I$(HAL) -I$(TOP) -I$(ATH_HAL)
CFLAGS= -g -O2 -Wall
@@
-204,12
+205,14
@@
#include <linux/wireless.h>
--- a/Makefile.inc
+++ b/Makefile.inc
#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
TOOLS= $(TOP)/tools
-
WARNINGS = -Werror
+
-
WARNINGS = -Werror
-COPTS+= $(WARNINGS)
-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
+COPTS+= $(WARNINGS) $(DEBUG)
INCS= -include $(TOP)/include/compat.h -I$(TOP)/include
This page took
0.024196 seconds
and
4
git commands to generate.