Generate opt_ah.h now for all ath tools, a recent HAL change of mine
now requires it.
This commit is contained in:
parent
e74a74d593
commit
9975f19c3b
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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:
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user