Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2011 23:17:00 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r227433 - head/sys/modules/ath
Message-ID:  <201111102317.pAANH0PQ060522@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111102317.pAANH0PQ060522>