diff --git a/sys/modules/cas/Makefile b/sys/modules/cas/Makefile index f4b41ca65aa9..8e71fcf7dc1f 100644 --- a/sys/modules/cas/Makefile +++ b/sys/modules/cas/Makefile @@ -3,6 +3,10 @@ .PATH: ${.CURDIR}/../../dev/cas KMOD= if_cas -SRCS= bus_if.h device_if.h if_cas.c miibus_if.h pci_if.h +SRCS= bus_if.h device_if.h if_cas.c miibus_if.h pci_if.h ${ofw_bus_if} + +.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64" +ofw_bus_if= ofw_bus_if.h +.endif .include