Makefile (221163) | Makefile (222325) |
---|---|
1# 2# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions 7# are met: 8# 1. Redistributions of source code must retain the above copyright --- 12 unchanged lines hidden (view full) --- 21# THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, 22# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 25# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 27# THE POSSIBILITY OF SUCH DAMAGES. 28# | 1# 2# Copyright (c) 2002-2008 Sam Leffler, Errno Consulting 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions 7# are met: 8# 1. Redistributions of source code must retain the above copyright --- 12 unchanged lines hidden (view full) --- 21# THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, 22# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 25# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 27# THE POSSIBILITY OF SUCH DAMAGES. 28# |
29# $FreeBSD: head/sys/modules/ath/Makefile 221163 2011-04-28 12:47:40Z adrian $ | 29# $FreeBSD: head/sys/modules/ath/Makefile 222325 2011-05-26 20:31:08Z adrian $ |
30# 31 32ATH_RATE?= sample # tx rate control algorithm 33 34.PATH: ${.CURDIR}/../../dev/ath 35.PATH: ${.CURDIR}/../../dev/ath/ath_hal 36 37KMOD= if_ath --- 73 unchanged lines hidden (view full) --- 111# + AR9220/AR9280 - Merlin 112.PATH: ${.CURDIR}/../../dev/ath/ath_hal/ar9002 113SRCS+= ar9280.c ar9280_attach.c ar9280_olc.c 114 115# + AR9285 - Kite 116SRCS+= ar9285.c ar9285_reset.c ar9285_attach.c ar9285_cal.c ar9285_phy.c 117SRCS+= ar9285_diversity.c 118 | 30# 31 32ATH_RATE?= sample # tx rate control algorithm 33 34.PATH: ${.CURDIR}/../../dev/ath 35.PATH: ${.CURDIR}/../../dev/ath/ath_hal 36 37KMOD= if_ath --- 73 unchanged lines hidden (view full) --- 111# + AR9220/AR9280 - Merlin 112.PATH: ${.CURDIR}/../../dev/ath/ath_hal/ar9002 113SRCS+= ar9280.c ar9280_attach.c ar9280_olc.c 114 115# + AR9285 - Kite 116SRCS+= ar9285.c ar9285_reset.c ar9285_attach.c ar9285_cal.c ar9285_phy.c 117SRCS+= ar9285_diversity.c 118 |
119# + AR9287 - Kiwi 120.PATH: ${.CURDIR}/../../dev/ath/ath_hal 121SRCS+= ah_eeprom_9287.c 122.PATH: ${.CURDIR}/../../dev/ath/ath_hal/ar9002 123SRCS+= ar9287.c ar9287_reset.c ar9287_attach.c ar9287_cal.c ar9287_olc.c 124 |
|
119# NB: rate control is bound to the driver by symbol names so only pick one 120.if ${ATH_RATE} == "sample" 121.PATH: ${.CURDIR}/../../dev/ath/ath_rate/sample 122SRCS+= sample.c 123.elif ${ATH_RATE} == "onoe" 124.PATH: ${.CURDIR}/../../dev/ath/ath_rate/onoe 125SRCS+= onoe.c 126.elif ${ATH_RATE} == "amrr" 127.PATH: ${.CURDIR}/../../dev/ath/ath_rate/amrr 128SRCS+= amrr.c 129.endif 130 131CFLAGS+= -I. -I${.CURDIR}/../../dev/ath -I${.CURDIR}/../../dev/ath/ath_hal 132 133opt_ah.h: 134 echo '#define AH_SUPPORT_AR5416 1' > $@ 135 136.include <bsd.kmod.mk> | 125# NB: rate control is bound to the driver by symbol names so only pick one 126.if ${ATH_RATE} == "sample" 127.PATH: ${.CURDIR}/../../dev/ath/ath_rate/sample 128SRCS+= sample.c 129.elif ${ATH_RATE} == "onoe" 130.PATH: ${.CURDIR}/../../dev/ath/ath_rate/onoe 131SRCS+= onoe.c 132.elif ${ATH_RATE} == "amrr" 133.PATH: ${.CURDIR}/../../dev/ath/ath_rate/amrr 134SRCS+= amrr.c 135.endif 136 137CFLAGS+= -I. -I${.CURDIR}/../../dev/ath -I${.CURDIR}/../../dev/ath/ath_hal 138 139opt_ah.h: 140 echo '#define AH_SUPPORT_AR5416 1' > $@ 141 142.include <bsd.kmod.mk> |