Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2011 06:53:45 +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: r220534 - in head/tools/tools/ath: athdecode athkey athpoke athprom athregs
Message-ID:  <201104110653.p3B6rjEC076650@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Mon Apr 11 06:53:45 2011
New Revision: 220534
URL: http://svn.freebsd.org/changeset/base/220534

Log:
  Generate opt_ah.h now for all ath tools, a recent HAL change of mine
  now requires it.

Modified:
  head/tools/tools/ath/athdecode/Makefile
  head/tools/tools/ath/athkey/Makefile
  head/tools/tools/ath/athpoke/Makefile
  head/tools/tools/ath/athprom/Makefile
  head/tools/tools/ath/athregs/Makefile

Modified: head/tools/tools/ath/athdecode/Makefile
==============================================================================
--- head/tools/tools/ath/athdecode/Makefile	Mon Apr 11 03:12:10 2011	(r220533)
+++ head/tools/tools/ath/athdecode/Makefile	Mon Apr 11 06:53:45 2011	(r220534)
@@ -10,6 +10,14 @@ SRCS+=	dumpregs_5210.c
 SRCS+=	dumpregs_5211.c
 SRCS+=	dumpregs_5212.c
 SRCS+=	dumpregs_5416.c
+SRCS+=	opt_ah.h
+
+CLEANFILES+=	opt_ah.h
+
+opt_ah.h:
+	echo "#define AH_DEBUG 1" > opt_ah.h
+	echo "#define AH_DEBUG_COUNTRY 1" >> opt_ah.h
+	echo "#define AH_SUPPORT_AR5416 1" >> opt_ah.h
 
 .include <../Makefile.inc>
 

Modified: head/tools/tools/ath/athkey/Makefile
==============================================================================
--- head/tools/tools/ath/athkey/Makefile	Mon Apr 11 03:12:10 2011	(r220533)
+++ head/tools/tools/ath/athkey/Makefile	Mon Apr 11 06:53:45 2011	(r220534)
@@ -2,6 +2,17 @@
 
 PROG=	athkey
 
+SRCS=	athkey.c
+SRCS+=	opt_ah.h
+
+CLEANFILES+=	opt_ah.h
+
+opt_ah.h:
+	echo "#define AH_DEBUG 1" > opt_ah.h
+	echo "#define AH_DEBUG_COUNTRY 1" >> opt_ah.h
+	echo "#define AH_SUPPORT_AR5416 1" >> opt_ah.h
+
+
 .include <../Makefile.inc>
 
 .include <bsd.prog.mk>

Modified: head/tools/tools/ath/athpoke/Makefile
==============================================================================
--- head/tools/tools/ath/athpoke/Makefile	Mon Apr 11 03:12:10 2011	(r220533)
+++ head/tools/tools/ath/athpoke/Makefile	Mon Apr 11 06:53:45 2011	(r220534)
@@ -10,6 +10,14 @@ SRCS+=	dumpregs_5210.c
 SRCS+=	dumpregs_5211.c
 SRCS+=	dumpregs_5212.c
 SRCS+=	dumpregs_5416.c
+SRCS+=	opt_ah.h
+
+CLEANFILES+=	opt_ah.h
+
+opt_ah.h:
+	echo "#define AH_DEBUG 1" > opt_ah.h
+	echo "#define AH_DEBUG_COUNTRY 1" >> opt_ah.h
+	echo "#define AH_SUPPORT_AR5416 1" >> opt_ah.h
 
 .include <../Makefile.inc>
 

Modified: head/tools/tools/ath/athprom/Makefile
==============================================================================
--- head/tools/tools/ath/athprom/Makefile	Mon Apr 11 03:12:10 2011	(r220533)
+++ head/tools/tools/ath/athprom/Makefile	Mon Apr 11 06:53:45 2011	(r220534)
@@ -7,6 +7,15 @@ PROG=	athprom
 TEMPLATEDIR=	/usr/local/libdata/athprom
 TEXTMODE?=	444
 
+SRCS=	athprom.c
+SRCS+=	opt_ah.h
+CLEANFILES+=	opt_ah.h
+
+opt_ah.h:
+	echo "#define AH_DEBUG 1" > opt_ah.h
+	echo "#define AH_DEBUG_COUNTRY 1" >> opt_ah.h
+	echo "#define AH_SUPPORT_AR5416 1" >> opt_ah.h
+
 CFLAGS+=-DDIR_TEMPLATE='"${TEMPLATEDIR}"'
 
 beforeinstall:

Modified: head/tools/tools/ath/athregs/Makefile
==============================================================================
--- head/tools/tools/ath/athregs/Makefile	Mon Apr 11 03:12:10 2011	(r220533)
+++ head/tools/tools/ath/athregs/Makefile	Mon Apr 11 06:53:45 2011	(r220534)
@@ -9,6 +9,14 @@ SRCS+=	dumpregs_5210.c
 SRCS+=	dumpregs_5211.c
 SRCS+=	dumpregs_5212.c
 SRCS+=	dumpregs_5416.c
+SRCS+=	opt_ah.h
+
+CLEANFILES+=	opt_ah.h
+
+opt_ah.h:
+	echo "#define AH_DEBUG 1" > opt_ah.h
+	echo "#define AH_DEBUG_COUNTRY 1" >> opt_ah.h
+	echo "#define AH_SUPPORT_AR5416 1" >> opt_ah.h
 
 .include <../Makefile.inc>
 



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