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