1 2.PATH: ${SRCTOP}/sys/dev/ipmi 3 4# XXX - ipmi_smbus and ipmi_ssif depend on smbus 5# XXX - ipmi_acpi depends on acpi 6KMOD= ipmi 7SRCS= ipmi.c 8SRCS+= bus_if.h device_if.h 9 10.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" || \ 11 ${MACHINE_CPUARCH} == "aarch64" 12SRCS+= ipmi_kcs.c ipmi_smic.c ipmi_bt.c 13SRCS+= ipmi_acpi.c 14SRCS+= opt_acpi.h 15SRCS+= acpi_if.h 16.endif 17 18.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" 19SRCS+= ipmi_smbios.c ipmi_ssif.c 20SRCS+= ipmi_isa.c ipmi_pci.c ipmi_smbus.c 21SRCS+= isa_if.h pci_if.h smbus_if.h 22 23SUBDIR+= ipmi_linux 24 25.elif ${MACHINE_ARCH:Mpowerpc64*} != "" 26SRCS+= ipmi_opal.c ofw_bus_if.h 27.endif 28 29.include <bsd.kmod.mk> 30