diff options
author | adrian <adrian@FreeBSD.org> | 2012-01-05 06:22:09 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2012-01-05 06:22:09 +0000 |
commit | 6803f659307f2cfe5c3000b9eb9297764c2fa92f (patch) | |
tree | aeca941952b6f5abc5085fee5093bc817b707c51 /sys | |
parent | 4f668a9e3e2e21428670467b38fd89a6ba01dbf9 (diff) | |
download | FreeBSD-src-6803f659307f2cfe5c3000b9eb9297764c2fa92f.zip FreeBSD-src-6803f659307f2cfe5c3000b9eb9297764c2fa92f.tar.gz |
Re-enable this bit of logic from before, which only sets a default
opt_ah.h file if KERNBUILDDIR isn't defined.
For now, AH_SUPPORT_AR5416 is required, so I'll just fix any
configuration file in /usr/src which is missing this option.
Pointy hat when things do break to: adrian
Diffstat (limited to 'sys')
-rw-r--r-- | sys/modules/ath/Makefile | 2 |
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> |