Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jan 2012 06:22:09 +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: r229560 - head/sys/modules/ath
Message-ID:  <201201050622.q056M9EW018047@svn.freebsd.org>

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



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