diff options
| author | Sam Leffler <sam@FreeBSD.org> | 2008-04-20 20:35:46 +0000 |
|---|---|---|
| committer | Sam Leffler <sam@FreeBSD.org> | 2008-04-20 20:35:46 +0000 |
| commit | b032f27c365b992e9d8e42214183b39acfb8c6ac (patch) | |
| tree | bc7985c57e7ecfa1ac03e48c406a25430dba634b /sys/modules/ath_rate_amrr | |
| parent | f44636071190e39b601efef820f32bf0fb0bb02f (diff) | |
Notes
Diffstat (limited to 'sys/modules/ath_rate_amrr')
| -rw-r--r-- | sys/modules/ath_rate_amrr/Makefile | 8 |
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> |
