svn commit: r225242 - user/adrian/if_ath_tx/sys/modules/ath
Adrian Chadd
adrian at FreeBSD.org
Mon Aug 29 06:01:35 UTC 2011
Author: adrian
Date: Mon Aug 29 06:01:35 2011
New Revision: 225242
URL: http://svn.freebsd.org/changeset/base/225242
Log:
.. and make this line up with what sys/modules/wlan/ does.
Modified:
user/adrian/if_ath_tx/sys/modules/ath/Makefile
Modified: user/adrian/if_ath_tx/sys/modules/ath/Makefile
==============================================================================
--- user/adrian/if_ath_tx/sys/modules/ath/Makefile Mon Aug 29 05:59:49 2011 (r225241)
+++ user/adrian/if_ath_tx/sys/modules/ath/Makefile Mon Aug 29 06:01:35 2011 (r225242)
@@ -140,19 +140,21 @@ 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' > $@
- echo '#define AH_AR5416_INTERRUPT_MITIGATION 1' >> $@
- echo '#define AH_DEBUG 1' >> $@
+ echo '#define AH_SUPPORT_AR5416 1' > ${.TARGET}
+ echo '#define AH_AR5416_INTERRUPT_MITIGATION 1' >> ${.TARGET}
+ echo '#define AH_DEBUG 1' >> ${.TARGET}
opt_ath.h:
- echo '#define ATH_DEBUG 1' > $@
- echo '#define ATH_DIAGAPI 1' >> $@
- echo '#define ATH_ENABLE_11N 1' >> $@
+ echo '#define ATH_DEBUG 1' > ${.TARGET}
+ echo '#define ATH_DIAGAPI 1' >> ${.TARGET}
+ echo '#define ATH_ENABLE_11N 1' >> ${.TARGET}
opt_wlan.h:
- echo '#define IEEE80211_DEBUG 1' > $@
- echo '#define IEEE80211_AMPDU_AGE 1'>> $@
- echo '#define IEEE80211_SUPPORT_MESH 1'>> $@
+ echo '#define IEEE80211_DEBUG 1' > ${.TARGET}
+ echo '#define IEEE80211_AMPDU_AGE 1'>> ${.TARGET}
+ echo '#define IEEE80211_SUPPORT_MESH 1'>> ${.TARGET}
+.endif
.include <bsd.kmod.mk>
More information about the svn-src-user
mailing list