xref: /freebsd-14.2/sys/modules/spigen/Makefile (revision 031beb4e)
109285d14SOleksandr Tymoshenko
209285d14SOleksandr Tymoshenko.PATH:	${SRCTOP}/sys/dev/spibus
309285d14SOleksandr TymoshenkoKMOD=	spigen
409285d14SOleksandr TymoshenkoSRCS=	spigen.c
5c951fe92SIan Lepore
6c951fe92SIan Lepore# Generated files...
7c951fe92SIan LeporeSRCS+=	\
8c951fe92SIan Lepore	bus_if.h \
9c951fe92SIan Lepore	device_if.h \
10c951fe92SIan Lepore	opt_platform.h \
114e57e81cSLi-Wen Hsu	opt_spi.h \
12c951fe92SIan Lepore	spibus_if.h \
13c951fe92SIan Lepore
14c951fe92SIan Lepore.if !empty(OPT_FDT)
15c951fe92SIan LeporeSRCS+=	ofw_bus_if.h
16c951fe92SIan Lepore.endif
1709285d14SOleksandr Tymoshenko
18*5bb3134aSKonstantin BelousovEXPORT_SYMS=	YES
19*5bb3134aSKonstantin Belousov
2009285d14SOleksandr Tymoshenko.include <bsd.kmod.mk>
21