From: Pavel Roskin Date: Fri, 8 Nov 2013 15:39:40 +0000 (-0500) Subject: Remove all references to ath_info X-Git-Url: http://git.ozo.com/?p=madwifi%2F.git;a=commitdiff_plain;h=8b13bec8b1dfc1940ddbf7c456587b6b252bcc4a;hp=2340147dee9fd49fa944218a2a499047bb339322 Remove all references to ath_info It's a dangerous program that should be distributed separately from MadWifi, with its own README full of serious warnings. ath_info is not even using MadWifi, it writes to the hardware registers directly. ath_info is definitely not needed to use MadWifi. It could help with the development, but so could Wireshark and many other programs that are not part of MadWifi. --- diff --git a/tools/Makefile b/tools/Makefile index 3ad9988..c3bc02b 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -48,19 +48,12 @@ endif PROGRAMS = athstats 80211stats athkey athchans athctrl \ athdebug 80211debug wlanconfig wpakey -SUBDIRS = ath_info - INCS = -I. -I$(HAL) -I$(TOP) CFLAGS = -g -O2 -Wall ALL_CFLAGS = $(CFLAGS) $(INCS) LDFLAGS = -all: all-subdirs $(PROGRAMS) - -all-subdirs: - for d in $(SUBDIRS); do \ - $(MAKE) -C $$d || exit 1; \ - done +all: $(PROGRAMS) athstats: athstats.c $(CC) -o athstats $(ALL_CFLAGS) -I$(TOP)/ath $(LDFLAGS) athstats.c @@ -90,9 +83,6 @@ install: all install -d $(DESTDIR)$(MANDIR)/man8 install -m 0644 man/*.8 $(DESTDIR)$(MANDIR)/man8 install $(TOP)/scripts/madwifi-unload $(DESTDIR)$(BINDIR)/madwifi-unload - for d in $(SUBDIRS); do \ - $(MAKE) -C $$d install || exit 1; \ - done uninstall: for i in $(PROGRAMS); do \ @@ -101,14 +91,8 @@ uninstall: for i in $(PROGRAMS:=.8); do \ rm -f $(DESTDIR)$(MANDIR)/man8/$$i; \ done - for d in $(SUBDIRS); do \ - $(MAKE) -C $$d uninstall || exit 1; \ - done clean: rm -f $(PROGRAMS) core a.out - for d in $(SUBDIRS); do \ - $(MAKE) -C $$d clean; \ - done -.PHONY: all all-subdirs clean install uninstall +.PHONY: all clean install uninstall