xref: /freebsd/sys/modules/spi/spibus/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1.PATH:	${SRCTOP}/sys/dev/spibus
2
3KMOD=	spibus
4SRCS=	spibus.c
5
6.if !empty(OPT_FDT)
7SRCS+=	ofw_spibus.c ofw_bus_if.h
8.endif
9
10.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
11    ${MACHINE_CPUARCH} == "i386"
12SRCS+= acpi_spibus.c opt_acpi.h acpi_if.h
13.endif
14
15# Generated files...
16SRCS+=	\
17	bus_if.h \
18	device_if.h \
19	opt_platform.h \
20	spibus_if.c \
21	spibus_if.h \
22
23EXPORT_SYMS=	YES
24
25.include <bsd.kmod.mk>
26