aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/ath
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2011-12-22 23:40:52 +0000
committerDimitry Andric <dim@FreeBSD.org>2011-12-22 23:40:52 +0000
commitf15dabe59d49fe8ed22abcfce9807bd2c3932256 (patch)
tree1efc2f8a4633f3a8c92423e9c069e8c342857706 /sys/modules/ath
parentead079638f9e36493872c0e5b219e7277a13e816 (diff)
downloadsrc-f15dabe59d49fe8ed22abcfce9807bd2c3932256.tar.gz
src-f15dabe59d49fe8ed22abcfce9807bd2c3932256.zip
Notes
Diffstat (limited to 'sys/modules/ath')
-rw-r--r--sys/modules/ath/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/modules/ath/Makefile b/sys/modules/ath/Makefile
index 2b3b5c9f92c5..f9c315843326 100644
--- a/sys/modules/ath/Makefile
+++ b/sys/modules/ath/Makefile
@@ -139,9 +139,11 @@ SRCS+= amrr.c
SRCS+= dfs_null.c
CFLAGS+= -I. -I${.CURDIR}/../../dev/ath -I${.CURDIR}/../../dev/ath/ath_hal
-CWARNFLAGS+= ${NO_WSHIFT_COUNT_NEGATIVE} ${NO_WSHIFT_COUNT_OVERFLOW}
opt_ah.h:
echo '#define AH_SUPPORT_AR5416 1' > $@
.include <bsd.kmod.mk>
+
+CWARNFLAGS.ah_regdomain.c= ${NO_WSHIFT_COUNT_NEGATIVE} ${NO_WSHIFT_COUNT_OVERFLOW}
+CWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}}