Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Nov 2011 23:37:14 +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: r227412 - head/sys/modules/ath
Message-ID:  <201111092337.pA9NbEYZ004928@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Wed Nov  9 23:37:13 2011
New Revision: 227412
URL: http://svn.freebsd.org/changeset/base/227412

Log:
  Use the system-provided opt_ah.h if one is provided.
  
  This implies that users who are building the driver do so with
  KERNBUILDDIR set to the compile/CONFIG directory so the various
  opt_* sources can be pulled in.

Modified:
  head/sys/modules/ath/Makefile

Modified: head/sys/modules/ath/Makefile
==============================================================================
--- head/sys/modules/ath/Makefile	Wed Nov  9 23:28:47 2011	(r227411)
+++ head/sys/modules/ath/Makefile	Wed Nov  9 23:37:13 2011	(r227412)
@@ -140,7 +140,9 @@ 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?201111092337.pA9NbEYZ004928>