xref: /freebsd/sys/modules/usb/Makefile (revision d9d7ab852cd30eb51c9f6989bc86d93183b1f581)
17d0d268bSAndrew Thompson#
27d0d268bSAndrew Thompson# $FreeBSD$
37d0d268bSAndrew Thompson#
47d0d268bSAndrew Thompson# Copyright (c) 2008 Hans Petter Selasky. All rights reserved.
57d0d268bSAndrew Thompson#
67d0d268bSAndrew Thompson# Redistribution and use in source and binary forms, with or without
77d0d268bSAndrew Thompson# modification, are permitted provided that the following conditions
87d0d268bSAndrew Thompson# are met:
97d0d268bSAndrew Thompson# 1. Redistributions of source code must retain the above copyright
107d0d268bSAndrew Thompson#    notice, this list of conditions and the following disclaimer.
117d0d268bSAndrew Thompson# 2. Redistributions in binary form must reproduce the above copyright
127d0d268bSAndrew Thompson#    notice, this list of conditions and the following disclaimer in the
137d0d268bSAndrew Thompson#    documentation and/or other materials provided with the distribution.
147d0d268bSAndrew Thompson#
157d0d268bSAndrew Thompson# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
167d0d268bSAndrew Thompson# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
177d0d268bSAndrew Thompson# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
187d0d268bSAndrew Thompson# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
197d0d268bSAndrew Thompson# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
207d0d268bSAndrew Thompson# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
217d0d268bSAndrew Thompson# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
227d0d268bSAndrew Thompson# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
237d0d268bSAndrew Thompson# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
247d0d268bSAndrew Thompson# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
257d0d268bSAndrew Thompson# SUCH DAMAGE.
267d0d268bSAndrew Thompson#
277d0d268bSAndrew Thompson
287d0d268bSAndrew ThompsonSUBDIR = usb
290acf6a64SHans Petter SelaskySUBDIR += ehci musb ohci uhci xhci uss820dci ${_at91dci} ${_atmegadci}
30069f1a80SAndrew ThompsonSUBDIR += rum run uath upgt ural zyd ${_urtw}
31*d9d7ab85SGleb SmirnoffSUBDIR += atp uhid ukbd ums udbp ufm uep
32b20adc2bSAndrew ThompsonSUBDIR += ucom u3g uark ubsa ubser uchcom ucycom ufoma uftdi ugensa uipaq ulpt \
33b20adc2bSAndrew Thompson	  umct umodem umoscom uplcom uslcom uvisor uvscom
34b2dce55fSHans Petter SelaskySUBDIR += uether aue axe cdce cue kue mos rue udav uhso ipheth
357d0d268bSAndrew ThompsonSUBDIR += usfs umass urio
367d0d268bSAndrew ThompsonSUBDIR += quirk template
377d0d268bSAndrew Thompson
38c09808d0SWarner Losh.if ${MACHINE_CPUARCH} == "amd64"
3918b223feSWeongyo Jeong_urtw=		urtw
4018b223feSWeongyo Jeong.endif
4118b223feSWeongyo Jeong
42c09808d0SWarner Losh.if ${MACHINE_CPUARCH} == "arm"
437d0d268bSAndrew Thompson_at91dci=	at91dci
447d0d268bSAndrew Thompson_atmegadci=	atmegadci
457d0d268bSAndrew Thompson.endif
467d0d268bSAndrew Thompson
47c09808d0SWarner Losh.if ${MACHINE_CPUARCH} == "i386"
4818b223feSWeongyo Jeong_urtw=		urtw
4918b223feSWeongyo Jeong.endif
5018b223feSWeongyo Jeong
517d0d268bSAndrew Thompson.include <bsd.subdir.mk>
52