Use the system-provided opt_ah.h if one is provided.
This implies that users who are building the driver do so with KERNBUILDDIR set to the compile/CONFIG directory so the various opt_* sources can be pulled in.
This commit is contained in:
parent
cf5d42d4b0
commit
5a25d7aab1
@ -140,7 +140,9 @@ SRCS+= dfs_null.c
|
||||
|
||||
CFLAGS+= -I. -I${.CURDIR}/../../dev/ath -I${.CURDIR}/../../dev/ath/ath_hal
|
||||
|
||||
.if !defined(KERNBUILDDIR)
|
||||
opt_ah.h:
|
||||
echo '#define AH_SUPPORT_AR5416 1' > $@
|
||||
.endif
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
Loading…
x
Reference in New Issue
Block a user