Makefile (219393) | Makefile (219481) |
---|---|
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 219393 2011-03-08 06:59:59Z adrian $ | 29# $FreeBSD: head/sys/modules/ath/Makefile 219481 2011-03-11 11:58:54Z 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 --- 55 unchanged lines hidden (view full) --- 93# RF backend for 5416 and 9160 94SRCS+= ar2133.c 95 96.PATH: ${.CURDIR}/../../dev/ath/ath_hal/ar9001 97SRCS+= ar9160_attach.c 98 99.PATH: ${.CURDIR}/../../dev/ath/ath_hal/ar9002 100SRCS+= ar9280.c ar9280_attach.c ar9280_olc.c | 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 --- 55 unchanged lines hidden (view full) --- 93# RF backend for 5416 and 9160 94SRCS+= ar2133.c 95 96.PATH: ${.CURDIR}/../../dev/ath/ath_hal/ar9001 97SRCS+= ar9160_attach.c 98 99.PATH: ${.CURDIR}/../../dev/ath/ath_hal/ar9002 100SRCS+= ar9280.c ar9280_attach.c ar9280_olc.c |
101SRCS+= ar9285.c ar9285_reset.c ar9285_attach.c | 101SRCS+= ar9285.c ar9285_reset.c ar9285_attach.c ar9285_cal.c |
102 103# NB: rate control is bound to the driver by symbol names so only pick one 104.if ${ATH_RATE} == "sample" 105.PATH: ${.CURDIR}/../../dev/ath/ath_rate/sample 106SRCS+= sample.c 107.elif ${ATH_RATE} == "onoe" 108.PATH: ${.CURDIR}/../../dev/ath/ath_rate/onoe 109SRCS+= onoe.c 110.elif ${ATH_RATE} == "amrr" 111.PATH: ${.CURDIR}/../../dev/ath/ath_rate/amrr 112SRCS+= amrr.c 113.endif 114 115CFLAGS+= -I. -I${.CURDIR}/../../dev/ath -I${.CURDIR}/../../dev/ath/ath_hal 116 117opt_ah.h: 118 echo '#define AH_SUPPORT_AR5416 1' > $@ 119 120.include <bsd.kmod.mk> | 102 103# NB: rate control is bound to the driver by symbol names so only pick one 104.if ${ATH_RATE} == "sample" 105.PATH: ${.CURDIR}/../../dev/ath/ath_rate/sample 106SRCS+= sample.c 107.elif ${ATH_RATE} == "onoe" 108.PATH: ${.CURDIR}/../../dev/ath/ath_rate/onoe 109SRCS+= onoe.c 110.elif ${ATH_RATE} == "amrr" 111.PATH: ${.CURDIR}/../../dev/ath/ath_rate/amrr 112SRCS+= amrr.c 113.endif 114 115CFLAGS+= -I. -I${.CURDIR}/../../dev/ath -I${.CURDIR}/../../dev/ath/ath_hal 116 117opt_ah.h: 118 echo '#define AH_SUPPORT_AR5416 1' > $@ 119 120.include <bsd.kmod.mk> |