* Fix building with MODULES_WITH_WORLD.
* Add AH_SUPPORT_AR5416 option to the options file.
* Remove unneeded opt_ah.h file which gets generated.
ATH_RXBUF opt_ath.h
ATH_TXBUF opt_ath.h
+# ...and its HAL
+AH_SUPPORT_AR5416 opt_ah.h
+
# bce driver
BCE_DEBUG opt_bce.h
BCE_NVRAM_WRITE_SUPPORT opt_bce.h
CFLAGS+= -I. -I${HAL}
+.if !defined(BUILDING_WITH_KERNEL)
opt_ah.h:
- echo '#define AH_SUPPORT_AR5416 1' > $@
+ echo '#define AH_SUPPORT_AR5416 1' > opt_ah.h
+.endif
.include <bsd.kmod.mk>
+++ /dev/null
-#define AH_SUPPORT_AR5416 1