X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=ath%2FMakefile;h=b736ad07c0ce28a4aaa183a72728094faae93a6e;hb=2cb388736941852c65d215cc1baf8e182f860d45;hp=e0dbd20b91eaaf79813393182c74e17b1ab75bd0;hpb=291327888454f8832f8a609bba5f28cd9e5458eb;p=madwifi%2F.git diff --git a/ath/Makefile b/ath/Makefile index e0dbd20..b736ad0 100644 --- a/ath/Makefile +++ b/ath/Makefile @@ -57,7 +57,7 @@ COPTS += -DDFS_DOMAIN_ETSI -DDFS_DOMAIN_FCC include $(TOP)/Makefile.inc obj-m += ath_$(BUSNAME).o -ath_$(BUSNAME)-objs := if_ath.o if_ath_radar.o if_ath_$(BUSNAME).o +ath_$(BUSNAME)-objs := if_ath.o if_ath_radar.o if_ath_hal_extensions.o if_ath_$(BUSNAME).o INCS += -I$(TOP) -I$(ATH_HAL) -I$(HAL) -I$(WLAN) @@ -65,13 +65,16 @@ EXTRA_CFLAGS+= $(INCS) $(COPTS) -DOPT_AH_H=\"public/$(TARGET).opt_ah.h\" -include $(TOPDIR)/Rules.make +.PHONY: all all: $(MAKE) -C $(KERNELPATH) SUBDIRS=$(shell pwd) modules +.PHONY: install install: test -d $(DESTDIR)/$(KMODPATH) || mkdir -p $(DESTDIR)/$(KMODPATH) install -m 0644 ath_$(BUSNAME).$(KMODSUF) $(DESTDIR)/$(KMODPATH) +.PHONY: clean clean: rm -f *~ *.o *.ko *.mod.c .*.cmd rm -f .depend .version .*.o.flags .*.o.d