xref: /freebsd/sys/modules/usb/dwc_otg/Makefile (revision 031beb4e239bfce798af17f5fe8dba8bcaf13d99)
1e8052eb4SHans Petter Selasky#
2e8052eb4SHans Petter Selasky#
3e8052eb4SHans Petter Selasky# Copyright (c) 2012 Hans Petter Selasky. All rights reserved.
4e8052eb4SHans Petter Selasky#
5e8052eb4SHans Petter Selasky# Redistribution and use in source and binary forms, with or without
6e8052eb4SHans Petter Selasky# modification, are permitted provided that the following conditions
7e8052eb4SHans Petter Selasky# are met:
8e8052eb4SHans Petter Selasky# 1. Redistributions of source code must retain the above copyright
9e8052eb4SHans Petter Selasky#    notice, this list of conditions and the following disclaimer.
10e8052eb4SHans Petter Selasky# 2. Redistributions in binary form must reproduce the above copyright
11e8052eb4SHans Petter Selasky#    notice, this list of conditions and the following disclaimer in the
12e8052eb4SHans Petter Selasky#    documentation and/or other materials provided with the distribution.
13e8052eb4SHans Petter Selasky#
14e8052eb4SHans Petter Selasky# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15e8052eb4SHans Petter Selasky# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16e8052eb4SHans Petter Selasky# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17e8052eb4SHans Petter Selasky# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18e8052eb4SHans Petter Selasky# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19e8052eb4SHans Petter Selasky# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20e8052eb4SHans Petter Selasky# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21e8052eb4SHans Petter Selasky# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22e8052eb4SHans Petter Selasky# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23e8052eb4SHans Petter Selasky# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24e8052eb4SHans Petter Selasky# SUCH DAMAGE.
25e8052eb4SHans Petter Selasky#
26e8052eb4SHans Petter Selasky
27*193d9e76SEnji CooperS=	${SRCTOP}/sys
28e8052eb4SHans Petter Selasky
29e8052eb4SHans Petter Selasky.PATH: $S/dev/usb/controller
30e8052eb4SHans Petter Selasky
31e8052eb4SHans Petter SelaskyKMOD=	dwc_otg
32e8052eb4SHans Petter SelaskySRCS=	bus_if.h device_if.h usb_if.h \
33491d5d05SHans Petter Selasky	opt_bus.h opt_usb.h ofw_bus_if.h \
34491d5d05SHans Petter Selasky	dwc_otg.c dwc_otg_fdt.c \
35e8052eb4SHans Petter Selasky	pci_if.h
36e8052eb4SHans Petter Selasky
37e8052eb4SHans Petter Selasky.include <bsd.kmod.mk>
38