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