Re-enable this bit of logic from before, which only sets a default

opt_ah.h file if KERNBUILDDIR isn't defined.

For now, AH_SUPPORT_AR5416 is required, so I'll just fix any
configuration file in /usr/src which is missing this option.

Pointy hat when things do break to:	adrian
This commit is contained in:
Adrian Chadd 2012-01-05 06:22:09 +00:00
parent b018dade46
commit 188da34c00
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=229560

View File

@ -140,8 +140,10 @@ SRCS+= dfs_null.c
CFLAGS+= -I. -I${.CURDIR}/../../dev/ath -I${.CURDIR}/../../dev/ath/ath_hal
.if !defined(KERNBUILDDIR)
opt_ah.h:
echo '#define AH_SUPPORT_AR5416 1' > $@
.endif
.include <bsd.kmod.mk>