1232540Shselasky# 2232540Shselasky# $FreeBSD: releng/11.0/sys/modules/usb/dwc_otg/Makefile 266395 2014-05-18 09:19:13Z hselasky $ 3232540Shselasky# 4232540Shselasky# Copyright (c) 2012 Hans Petter Selasky. All rights reserved. 5232540Shselasky# 6232540Shselasky# Redistribution and use in source and binary forms, with or without 7232540Shselasky# modification, are permitted provided that the following conditions 8232540Shselasky# are met: 9232540Shselasky# 1. Redistributions of source code must retain the above copyright 10232540Shselasky# notice, this list of conditions and the following disclaimer. 11232540Shselasky# 2. Redistributions in binary form must reproduce the above copyright 12232540Shselasky# notice, this list of conditions and the following disclaimer in the 13232540Shselasky# documentation and/or other materials provided with the distribution. 14232540Shselasky# 15232540Shselasky# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 16232540Shselasky# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17232540Shselasky# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18232540Shselasky# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 19232540Shselasky# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20232540Shselasky# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21232540Shselasky# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22232540Shselasky# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23232540Shselasky# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24232540Shselasky# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25232540Shselasky# SUCH DAMAGE. 26232540Shselasky# 27232540Shselasky 28232540ShselaskyS= ${.CURDIR}/../../.. 29232540Shselasky 30232540Shselasky.PATH: $S/dev/usb/controller 31232540Shselasky 32232540ShselaskyKMOD= dwc_otg 33232540ShselaskySRCS= bus_if.h device_if.h usb_if.h \ 34264642Shselasky opt_bus.h opt_usb.h ofw_bus_if.h \ 35264642Shselasky dwc_otg.c dwc_otg_fdt.c \ 36232540Shselasky pci_if.h 37232540Shselasky 38232540Shselasky.include <bsd.kmod.mk> 39