diff options
| author | Justin Hibbits <jhibbits@FreeBSD.org> | 2018-07-25 18:58:57 +0000 |
|---|---|---|
| committer | Justin Hibbits <jhibbits@FreeBSD.org> | 2018-07-25 18:58:57 +0000 |
| commit | 0bf0bb832fa8d61421401b5f148b3ac9645ceeaf (patch) | |
| tree | b4140af50224ee37f7684ce2ab94642206bb2053 /sys/modules/ipmi | |
| parent | 513fdd50ee6b44cbcc031a432935099c78bdbd5d (diff) | |
Notes
Diffstat (limited to 'sys/modules/ipmi')
| -rw-r--r-- | sys/modules/ipmi/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/modules/ipmi/Makefile b/sys/modules/ipmi/Makefile index 12de0068a410..fe827ef1bcd3 100644 --- a/sys/modules/ipmi/Makefile +++ b/sys/modules/ipmi/Makefile @@ -7,9 +7,15 @@ SUBDIR+= ipmi_linux # XXX - ipmi_smbus and ipmi_ssif depend on smbus # XXX - ipmi_acpi depends on acpi KMOD= ipmi -SRCS= ipmi.c ipmi_kcs.c ipmi_smic.c ipmi_smbios.c ipmi_ssif.c +SRCS= ipmi.c +SRCS+= bus_if.h device_if.h +.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "i386" +SRCS+= ipmi_kcs.c ipmi_smic.c ipmi_smbios.c ipmi_ssif.c SRCS+= ipmi_acpi.c ipmi_isa.c ipmi_pci.c ipmi_smbus.c SRCS+= opt_acpi.h -SRCS+= acpi_if.h bus_if.h device_if.h isa_if.h pci_if.h smbus_if.h +SRCS+= acpi_if.h isa_if.h pci_if.h smbus_if.h +.elif ${MACHINE_ARCH} == "powerpc64" +SRCS+= ipmi_opal.c +.endif .include <bsd.kmod.mk> |
