diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-10-21 00:20:42 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-10-21 00:20:42 +0000 |
commit | fa98e6a6e4ade1490be6a5225e49242007aa6d5f (patch) | |
tree | e93dafddc18aa224bc6aa252d2eb94756f85a85c /package/madwifi/patches/200-no_debug.patch | |
parent | 020508d5cba56a1970d2351f59c3ad407fc70fee (diff) | |
download | upstream-fa98e6a6e4ade1490be6a5225e49242007aa6d5f.tar.gz upstream-fa98e6a6e4ade1490be6a5225e49242007aa6d5f.tar.bz2 upstream-fa98e6a6e4ade1490be6a5225e49242007aa6d5f.zip |
madwifi: reduce the size of the multicall tool binary
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18112 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/patches/200-no_debug.patch')
-rw-r--r-- | package/madwifi/patches/200-no_debug.patch | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/package/madwifi/patches/200-no_debug.patch b/package/madwifi/patches/200-no_debug.patch index 5e5eb04547..d5f285c241 100644 --- 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 -@@ -48,6 +48,8 @@ endif +@@ -48,14 +48,16 @@ endif 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 |