Disable various warnings for the ath module in a more fine-grained way:
only add the option for the specific .c files that need them, like via sys/conf/files. MFC after: 1 week
This commit is contained in:
parent
ead079638f
commit
f15dabe59d
@ -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}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user