Makefile revision 256281
1206917Smarius# 2206917Smarius# $FreeBSD: stable/10/sys/modules/usb/musb/Makefile 188943 2009-02-23 18:32:59Z thompsa $ 3206917Smarius# 4206917Smarius# Copyright (c) 2008 Hans Petter Selasky. All rights reserved. 5206917Smarius# 6206917Smarius# Redistribution and use in source and binary forms, with or without 7206917Smarius# modification, are permitted provided that the following conditions 8206917Smarius# are met: 9206917Smarius# 1. Redistributions of source code must retain the above copyright 10206917Smarius# notice, this list of conditions and the following disclaimer. 11206917Smarius# 2. Redistributions in binary form must reproduce the above copyright 12206917Smarius# notice, this list of conditions and the following disclaimer in the 13206917Smarius# documentation and/or other materials provided with the distribution. 14206917Smarius# 15206917Smarius# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 16206917Smarius# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17206917Smarius# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18206917Smarius# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 19206917Smarius# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20206917Smarius# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21206917Smarius# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22206917Smarius# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23206917Smarius# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24206917Smarius# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25206917Smarius# SUCH DAMAGE. 26206917Smarius# 27206917Smarius 28206917SmariusS= ${.CURDIR}/../../.. 29206917Smarius 30206917Smarius.PATH: $S/dev/usb/controller 31206917Smarius 32206917SmariusKMOD= musb 33206917SmariusSRCS= bus_if.h device_if.h usb_if.h \ 34206917Smarius opt_bus.h opt_usb.h \ 35206917Smarius musb_otg.c \ 36206917Smarius pci_if.h 37206917Smarius 38206917Smarius.if defined(HAS_ATMELARM) 39206917SmariusSRCS+= musb_otg_atmelarm.c 40206917Smarius.endif 41206917Smarius 42206917Smarius.include <bsd.kmod.mk> 43206917Smarius