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