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