xref: /freebsd/sys/modules/pwm/pwmbus/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1e108c3dfSIan Lepore.PATH:	${SRCTOP}/sys/dev/pwm
2e108c3dfSIan Lepore
3e108c3dfSIan LeporeKMOD=	pwmbus
4e108c3dfSIan LeporeSRCS=	pwmbus.c
5e108c3dfSIan Lepore
6e108c3dfSIan Lepore.if !empty(OPT_FDT)
7b43e2c8bSIan LeporeSRCS+=	ofw_pwm.c ofw_pwmbus.c ofw_bus_if.h
8e108c3dfSIan Lepore.endif
9e108c3dfSIan Lepore
10e108c3dfSIan Lepore# Generated files...
11e108c3dfSIan LeporeSRCS+=	\
12e108c3dfSIan Lepore	bus_if.h \
13e108c3dfSIan Lepore	device_if.h \
14e108c3dfSIan Lepore	opt_platform.h \
15e108c3dfSIan Lepore	pwmbus_if.c \
16e108c3dfSIan Lepore	pwmbus_if.h \
17e108c3dfSIan Lepore
18*5bb3134aSKonstantin BelousovEXPORT_SYMS=	YES
19*5bb3134aSKonstantin Belousov
20e108c3dfSIan Lepore.include <bsd.kmod.mk>
21