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

now requires it.
This commit is contained in:
Adrian Chadd 2011-04-11 06:53:45 +00:00
parent 273ca85137
commit 6b3664c018
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=220534
5 changed files with 44 additions and 0 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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:

View File

@ -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>