1230150Sadrian# 2230150Sadrian# Copyright (c) 2012 Adrian Chadd, Xenion Pty Ltd 3230150Sadrian# All rights reserved. 4230150Sadrian# 5230150Sadrian# Redistribution and use in source and binary forms, with or without 6230150Sadrian# modification, are permitted provided that the following conditions 7230150Sadrian# are met: 8230150Sadrian# 1. Redistributions of source code must retain the above copyright 9230150Sadrian# notice, this list of conditions and the following disclaimer, 10230150Sadrian# without modification. 11230150Sadrian# 2. Redistributions in binary form must reproduce at minimum a disclaimer 12230150Sadrian# similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any 13230150Sadrian# redistribution must be conditioned upon including a substantially 14230150Sadrian# similar Disclaimer requirement for further binary redistribution. 15230150Sadrian# 16230150Sadrian# NO WARRANTY 17230150Sadrian# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18230150Sadrian# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19230150Sadrian# LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY 20230150Sadrian# AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 21230150Sadrian# THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, 22230150Sadrian# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23230150Sadrian# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24230150Sadrian# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 25230150Sadrian# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26230150Sadrian# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 27230150Sadrian# THE POSSIBILITY OF SUCH DAMAGES. 28230150Sadrian# 29230150Sadrian# $FreeBSD: releng/11.0/sys/modules/gpio/gpiobus/Makefile 300823 2016-05-27 04:34:42Z ian $ 30230150Sadrian# 31230150Sadrian 32230150Sadrian.PATH: ${.CURDIR}/../../../dev/gpio/ 33230150Sadrian 34230150SadrianKMOD= gpiobus 35286846SloosSRCS= gpiobus.c gpioc.c 36300823SianSRCS+= gpio_if.c gpio_if.h gpiobus_if.c gpiobus_if.h ofw_bus_if.h 37286846SloosSRCS+= device_if.h bus_if.h opt_platform.h 38230150Sadrian 39230150SadrianCFLAGS+= -I. -I${.CURDIR}/../../../dev/gpio/ 40230150Sadrian 41230150Sadrian.include <bsd.kmod.mk> 42