svn commit: r227433 - head/sys/modules/ath

Adrian Chadd adrian at FreeBSD.org
Thu Nov 10 23:17:00 UTC 2011


Author: adrian
Date: Thu Nov 10 23:16:59 2011
New Revision: 227433
URL: http://svn.freebsd.org/changeset/base/227433

Log:
  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 .

Modified:
  head/sys/modules/ath/Makefile

Modified: head/sys/modules/ath/Makefile
==============================================================================
--- head/sys/modules/ath/Makefile	Thu Nov 10 23:14:04 2011	(r227432)
+++ head/sys/modules/ath/Makefile	Thu Nov 10 23:16:59 2011	(r227433)
@@ -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>


More information about the svn-src-head mailing list