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