Makefile revision 262137
196917Sgrog# 296917Sgrog# $FreeBSD: stable/10/sys/modules/usb/Makefile 262137 2014-02-17 22:40:05Z markj $ 396917Sgrog# 496919Sgrog# Copyright (c) 2008 Hans Petter Selasky. All rights reserved. 596919Sgrog# 696919Sgrog# Redistribution and use in source and binary forms, with or without 796919Sgrog# modification, are permitted provided that the following conditions 896919Sgrog# are met: 996919Sgrog# 1. Redistributions of source code must retain the above copyright 1096919Sgrog# notice, this list of conditions and the following disclaimer. 1196919Sgrog# 2. Redistributions in binary form must reproduce the above copyright 1296919Sgrog# notice, this list of conditions and the following disclaimer in the 1396919Sgrog# documentation and/or other materials provided with the distribution. 1496919Sgrog# 1596919Sgrog# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1696919Sgrog# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1796919Sgrog# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1896919Sgrog# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1996919Sgrog# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2096919Sgrog# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2196919Sgrog# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2296919Sgrog# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2396919Sgrog# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2496919Sgrog# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2596919Sgrog# SUCH DAMAGE. 2696919Sgrog# 2796919Sgrog 2896919Sgrog.include <bsd.own.mk> 2996919Sgrog 3096919Sgrog# Modules that include binary-only blobs of microcode should be selectable by 3196919Sgrog# MK_SOURCELESS_UCODE option (see below). 3296919Sgrog 3396919SgrogSUBDIR = usb 3496919SgrogSUBDIR += ${_dwc_otg} ehci ${_musb} ohci uhci xhci ${_uss820dci} ${_at91dci} \ 3596919Sgrog ${_atmegadci} ${_avr32dci} ${_rsu} ${_rsufw} 3696919SgrogSUBDIR += ${_rum} ${_run} ${_runfw} ${_uath} upgt usie ural ${_zyd} ${_urtw} 3796919SgrogSUBDIR += ${_urtwn} ${_urtwnfw} 3896919SgrogSUBDIR += atp uhid ukbd ums udbp ufm uep wsp 3996919SgrogSUBDIR += ucom u3g uark ubsa ubser uchcom ucycom ufoma uftdi ugensa uipaq ulpt \ 4096917Sgrog umct umcs umodem umoscom uplcom uslcom uvisor uvscom 4196917SgrogSUBDIR += uether aue axe axge cdce cue ${_kue} mos rue smsc udav uhso ipheth 4296917SgrogSUBDIR += usfs umass urio 4396917SgrogSUBDIR += quirk template 4496917SgrogSUBDIR += ${_g_audio} ${_g_keyboard} ${_g_modem} ${_g_mouse} 4596917Sgrog 4696917Sgrog.if ${MK_USB_GADGET_EXAMPLES} == "yes" 4796917Sgrog_g_audio= g_audio 4896917Sgrog_g_keyboard= g_keyboard 4996917Sgrog_g_modem= g_modem 5096917Sgrog_g_mouse= g_mouse 5196917Sgrog.endif 5296917Sgrog 5396917Sgrog.if ${MK_SOURCELESS_UCODE} != "no" 5496917Sgrog_rum= rum 5596917Sgrog_uath= uath 5696917Sgrog_zyd= zyd 5796917Sgrog_kue= kue 5896917Sgrog_urtwn= urtwn 5996917Sgrog_urtwnfw= urtwnfw 6096917Sgrog_run= run 6196917Sgrog_runfw= runfw 6296917Sgrog_rsu= rsu 6396917Sgrog_rsufw= rsufw 6496917Sgrog.endif 6596917Sgrog 6696917Sgrog.if ${MACHINE_CPUARCH} == "amd64" 6796917Sgrog_urtw= urtw 6896917Sgrog.endif 6996917Sgrog 7096917Sgrog.if ${MACHINE_CPUARCH} == "arm" 7196917Sgrog_at91dci= at91dci 7296917Sgrog_atmegadci= atmegadci 7396917Sgrog_dwc_otg= dwc_otg 7496917Sgrog_musb= musb 7596917Sgrog_uss820dci= uss820dci 7696917Sgrog.endif 7796917Sgrog 7896917Sgrog.if ${MACHINE_CPUARCH} == "i386" 7996917Sgrog_urtw= urtw 8096917Sgrog.endif 8196917Sgrog 8296917Sgrog.if ${MACHINE_CPUARCH} == "avr32" 8396917Sgrog_avr32dci= avr32dci 8496917Sgrog.endif 8596917Sgrog 8696917Sgrog.include <bsd.subdir.mk> 8796917Sgrog