summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2011-11-10 23:16:59 +0000
committeradrian <adrian@FreeBSD.org>2011-11-10 23:16:59 +0000
commitc9c43aa170e051c35374bf309261fc69bbb9c482 (patch)
treed34ff9eda3f53bae8701bed387efcd081e0f2b19 /sys/modules
parent9fe2aee2b7b060dc766f3d7fc681ada053ca3e7d (diff)
downloadFreeBSD-src-c9c43aa170e051c35374bf309261fc69bbb9c482.zip
FreeBSD-src-c9c43aa170e051c35374bf309261fc69bbb9c482.tar.gz
Revert this previous commit for now - although this override unfortunately
results in the HAL being built without HAL debugging/diagnostic support, the module building process needs to be somehow taught to not build AR5416+ NICs if AH_SUPPORT_AR5416 isn't defined in opt_ah.h .
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/ath/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/modules/ath/Makefile b/sys/modules/ath/Makefile
index e691abd..50571aa 100644
--- a/sys/modules/ath/Makefile
+++ b/sys/modules/ath/Makefile
@@ -140,9 +140,7 @@ 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>
OpenPOWER on IntegriCloud