xref: /freebsd/sys/modules/i2c/pcf8591/Makefile (revision a60b30469741392e66ec6fd21a8d5c4810a2d407)
1*a60b3046SAndriy Gapon# $FreeBSD$
2*a60b3046SAndriy Gapon
3*a60b3046SAndriy Gapon.PATH:	${SRCTOP}/sys/dev/iicbus
4*a60b3046SAndriy GaponKMOD=	pcf8591
5*a60b3046SAndriy GaponSRCS=	pcf8591.c
6*a60b3046SAndriy Gapon
7*a60b3046SAndriy GaponSRCS+=	\
8*a60b3046SAndriy Gapon	bus_if.h \
9*a60b3046SAndriy Gapon	device_if.h \
10*a60b3046SAndriy Gapon	iicbus_if.h \
11*a60b3046SAndriy Gapon	opt_platform.h
12*a60b3046SAndriy Gapon
13*a60b3046SAndriy Gapon.if !empty(OPT_FDT)
14*a60b3046SAndriy GaponSRCS+=	ofw_bus_if.h
15*a60b3046SAndriy Gapon.endif
16*a60b3046SAndriy Gapon
17*a60b3046SAndriy Gapon.include <bsd.kmod.mk>
18