X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Fmadwifi%2Fpatches%2F200-no_debug.patch;h=d5f285c241ebd3547232e1e6634c629b5c6cbee2;hb=ad35d749fed56493d225488351b84a77ac8410ac;hp=5e5eb04547f77f7dacd297fe4e59a07f859a076f;hpb=8cb2e2c8d9af7574bff3b539abd5d485b7e5fa09;p=openwrt-10.03%2F.git diff --git a/package/madwifi/patches/200-no_debug.patch b/package/madwifi/patches/200-no_debug.patch index 5e5eb0454..d5f285c24 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