aboutsummaryrefslogtreecommitdiff
path: root/tools/tools/ath/athregs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/tools/ath/athregs/Makefile')
-rw-r--r--tools/tools/ath/athregs/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/tools/tools/ath/athregs/Makefile b/tools/tools/ath/athregs/Makefile
new file mode 100644
index 000000000000..6b61b32ceb51
--- /dev/null
+++ b/tools/tools/ath/athregs/Makefile
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+PROG= athregs
+
+.PATH.c: ${.CURDIR}/../common
+
+SRCS= dumpregs.c
+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>
+
+.include <bsd.prog.mk>