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