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.
This commit is contained in:
Pavel Roskin 2013-11-08 10:39:40 -05:00
parent 2340147dee
commit 8b13bec8b1

View File

@ -48,19 +48,12 @@ endif
PROGRAMS = athstats 80211stats athkey athchans athctrl \ PROGRAMS = athstats 80211stats athkey athchans athctrl \
athdebug 80211debug wlanconfig wpakey athdebug 80211debug wlanconfig wpakey
SUBDIRS = ath_info
INCS = -I. -I$(HAL) -I$(TOP) INCS = -I. -I$(HAL) -I$(TOP)
CFLAGS = -g -O2 -Wall CFLAGS = -g -O2 -Wall
ALL_CFLAGS = $(CFLAGS) $(INCS) ALL_CFLAGS = $(CFLAGS) $(INCS)
LDFLAGS = LDFLAGS =
all: all-subdirs $(PROGRAMS) all: $(PROGRAMS)
all-subdirs:
for d in $(SUBDIRS); do \
$(MAKE) -C $$d || exit 1; \
done
athstats: athstats.c athstats: athstats.c
$(CC) -o athstats $(ALL_CFLAGS) -I$(TOP)/ath $(LDFLAGS) 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 -d $(DESTDIR)$(MANDIR)/man8
install -m 0644 man/*.8 $(DESTDIR)$(MANDIR)/man8 install -m 0644 man/*.8 $(DESTDIR)$(MANDIR)/man8
install $(TOP)/scripts/madwifi-unload $(DESTDIR)$(BINDIR)/madwifi-unload install $(TOP)/scripts/madwifi-unload $(DESTDIR)$(BINDIR)/madwifi-unload
for d in $(SUBDIRS); do \
$(MAKE) -C $$d install || exit 1; \
done
uninstall: uninstall:
for i in $(PROGRAMS); do \ for i in $(PROGRAMS); do \
@ -101,14 +91,8 @@ uninstall:
for i in $(PROGRAMS:=.8); do \ for i in $(PROGRAMS:=.8); do \
rm -f $(DESTDIR)$(MANDIR)/man8/$$i; \ rm -f $(DESTDIR)$(MANDIR)/man8/$$i; \
done done
for d in $(SUBDIRS); do \
$(MAKE) -C $$d uninstall || exit 1; \
done
clean: clean:
rm -f $(PROGRAMS) core a.out 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