mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-19 15:33:56 +00:00
Generate opt_ah.h now for all ath tools, a recent HAL change of mine
now requires it.
This commit is contained in:
parent
273ca85137
commit
6b3664c018
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=220534
@ -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…
Reference in New Issue
Block a user