aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/ath_rate_amrr
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2008-04-20 20:35:46 +0000
committerSam Leffler <sam@FreeBSD.org>2008-04-20 20:35:46 +0000
commitb032f27c365b992e9d8e42214183b39acfb8c6ac (patch)
treebc7985c57e7ecfa1ac03e48c406a25430dba634b /sys/modules/ath_rate_amrr
parentf44636071190e39b601efef820f32bf0fb0bb02f (diff)
Notes
Diffstat (limited to 'sys/modules/ath_rate_amrr')
-rw-r--r--sys/modules/ath_rate_amrr/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/modules/ath_rate_amrr/Makefile b/sys/modules/ath_rate_amrr/Makefile
index 5523815cd96f..0405da2f4685 100644
--- a/sys/modules/ath_rate_amrr/Makefile
+++ b/sys/modules/ath_rate_amrr/Makefile
@@ -40,7 +40,7 @@
KMOD= ath_rate
SRCS= amrr.c
-SRCS+= device_if.h bus_if.h pci_if.h opt_inet.h opt_ah.h
+SRCS+= device_if.h bus_if.h pci_if.h opt_inet.h opt_ah.h opt_wlan.h
HAL= ${.CURDIR}/../../contrib/dev/ath
CFLAGS+= -I. -I${.CURDIR}/../../dev/ath -I${HAL}
@@ -56,7 +56,13 @@ ATH_MODULE_ARCH=powerpc-be
ATH_MODULE_ARCH=${MACHINE_ARCH}
.endif
+.if !defined(KERNBUILDDIR)
opt_ah.h: ${HAL}/public/${ATH_MODULE_ARCH}-elf.opt_ah.h
cp ${HAL}/public/${ATH_MODULE_ARCH}-elf.opt_ah.h ${.TARGET}
+opt_wlan.h:
+# echo "#define IEEE80211_DEBUG 1" > opt_wlan.h
+ echo > opt_wlan.h
+.endif
+
.include <bsd.kmod.mk>