svn commit: r229560 - head/sys/modules/ath
Adrian Chadd
adrian at FreeBSD.org
Thu Jan 5 06:22:10 UTC 2012
Author: adrian
Date: Thu Jan 5 06:22:09 2012
New Revision: 229560
URL: http://svn.freebsd.org/changeset/base/229560
Log:
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
Modified:
head/sys/modules/ath/Makefile
Modified: head/sys/modules/ath/Makefile
==============================================================================
--- head/sys/modules/ath/Makefile Thu Jan 5 04:50:28 2012 (r229559)
+++ head/sys/modules/ath/Makefile Thu Jan 5 06:22:09 2012 (r229560)
@@ -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>
More information about the svn-src-head
mailing list