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>
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to