svn commit: r208143 - head/sys/modules/cas

Marius Strobl marius at FreeBSD.org
Sun May 16 12:39:17 UTC 2010


Author: marius
Date: Sun May 16 12:39:17 2010
New Revision: 208143
URL: http://svn.freebsd.org/changeset/base/208143

Log:
  Add the ofw_bus_if.h dependency introduced with r207585.

Modified:
  head/sys/modules/cas/Makefile

Modified: head/sys/modules/cas/Makefile
==============================================================================
--- head/sys/modules/cas/Makefile	Sun May 16 11:56:42 2010	(r208142)
+++ head/sys/modules/cas/Makefile	Sun May 16 12:39:17 2010	(r208143)
@@ -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 <bsd.kmod.mk>


More information about the svn-src-head mailing list