1*128e3872SIan Lepore# 2*128e3872SIan Lepore# Copyright (c) 2016 Ian Lepore <ian@FreeBSD.org> 3*128e3872SIan Lepore# All rights reserved. 4*128e3872SIan Lepore# 5*128e3872SIan Lepore# Redistribution and use in source and binary forms, with or without 6*128e3872SIan Lepore# modification, are permitted provided that the following conditions 7*128e3872SIan Lepore# are met: 8*128e3872SIan Lepore# 1. Redistributions of source code must retain the above copyright 9*128e3872SIan Lepore# notice, this list of conditions and the following disclaimer, 10*128e3872SIan Lepore# without modification. 11*128e3872SIan Lepore# 2. Redistributions in binary form must reproduce at minimum a disclaimer 12*128e3872SIan Lepore# similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any 13*128e3872SIan Lepore# redistribution must be conditioned upon including a substantially 14*128e3872SIan Lepore# similar Disclaimer requirement for further binary redistribution. 15*128e3872SIan Lepore# 16*128e3872SIan Lepore# NO WARRANTY 17*128e3872SIan Lepore# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18*128e3872SIan Lepore# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19*128e3872SIan Lepore# LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY 20*128e3872SIan Lepore# AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 21*128e3872SIan Lepore# THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, 22*128e3872SIan Lepore# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23*128e3872SIan Lepore# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24*128e3872SIan Lepore# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 25*128e3872SIan Lepore# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26*128e3872SIan Lepore# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 27*128e3872SIan Lepore# THE POSSIBILITY OF SUCH DAMAGES. 28*128e3872SIan Lepore# 29*128e3872SIan Lepore# $FreeBSD$ 30*128e3872SIan Lepore# 31*128e3872SIan Lepore 32*128e3872SIan Lepore.PATH: ${.CURDIR}/../../../dev/gpio/ 33*128e3872SIan Lepore 34*128e3872SIan LeporeKMOD= gpiopps 35*128e3872SIan LeporeSRCS= gpiopps.c 36*128e3872SIan LeporeSRCS+= device_if.h bus_if.h gpio_if.h gpiobus_if.h opt_platform.h 37*128e3872SIan Lepore 38*128e3872SIan LeporeCFLAGS+= -I. -I${.CURDIR}/../../../dev/gpio/ 39*128e3872SIan Lepore 40*128e3872SIan Lepore.include <bsd.kmod.mk> 41