projects
/
madwifi
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't reference vlan_group without IEEE80211_VLAN_TAG_USED set
[madwifi/.git]
/
ath_rate
/
amrr
/
Makefile
diff --git
a/ath_rate/amrr/Makefile
b/ath_rate/amrr/Makefile
index 966c7f16531cf947c3d9bd34df13fa64142e0efc..8350d549cba2231c5081da66df4124186f964743 100644
(file)
--- a/
ath_rate/amrr/Makefile
+++ b/
ath_rate/amrr/Makefile
@@
-40,10
+40,7
@@
#
# Makefile for the Atheros Rate Control Support.
#
#
# Makefile for the Atheros Rate Control Support.
#
-ifeq ($(obj),)
-obj= .
-endif
-
+obj := $(firstword $(obj) $(SUBDIRS) .)
TOP = $(obj)/../..
obj-m += ath_rate_amrr.o
TOP = $(obj)/../..
obj-m += ath_rate_amrr.o
@@
-51,22
+48,25
@@
ath_rate_amrr-objs := amrr.o
include $(TOP)/Makefile.inc
include $(TOP)/Makefile.inc
-INCS += -I$(TOP) -I$(ATH) -I$(
ATH_HAL) -I$(
HAL)
+INCS += -I$(TOP) -I$(ATH) -I$(HAL)
-EXTRA_CFLAGS+= $(INCS) $(COPTS)
-DOPT_AH_H=\"public/$(TARGET).opt_ah.h\"
+EXTRA_CFLAGS+= $(INCS) $(COPTS)
-include $(TOPDIR)/Rules.make
-include $(TOPDIR)/Rules.make
+.PHONY: all
all:
$(MAKE) -C $(KERNELPATH) SUBDIRS=$(shell pwd) modules
all:
$(MAKE) -C $(KERNELPATH) SUBDIRS=$(shell pwd) modules
+.PHONY: install
install:
test -d $(DESTDIR)/$(KMODPATH) || mkdir -p $(DESTDIR)/$(KMODPATH)
install:
test -d $(DESTDIR)/$(KMODPATH) || mkdir -p $(DESTDIR)/$(KMODPATH)
- install ath_rate_amrr.$(KMODSUF) $(DESTDIR)/$(KMODPATH)
+ install
-m 0644
ath_rate_amrr.$(KMODSUF) $(DESTDIR)/$(KMODPATH)
+.PHONY: clean
clean:
-rm -f *~ *.o *.ko *.mod.c
clean:
-rm -f *~ *.o *.ko *.mod.c
- -rm -f .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
+ -rm -f
modules.order
.depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
-rm -rf .tmp_versions
ath_rate_amrr.o: $(ath_rate_amrr-objs)
-rm -rf .tmp_versions
ath_rate_amrr.o: $(ath_rate_amrr-objs)