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