summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/modules/ath/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/modules/ath/Makefile b/sys/modules/ath/Makefile
index 6e2e7b7..d3d2a22 100644
--- a/sys/modules/ath/Makefile
+++ b/sys/modules/ath/Makefile
@@ -140,8 +140,10 @@ 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>
OpenPOWER on IntegriCloud