summaryrefslogtreecommitdiffstats
path: root/sys/modules/hme
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2004-08-14 22:40:16 +0000
committermarius <marius@FreeBSD.org>2004-08-14 22:40:16 +0000
commit21afb9f757f2ab8ff1da1b590310b8e2ad639cb7 (patch)
tree8adaf514b9a7a6a0dcf68bf8d80516bacc135de6 /sys/modules/hme
parent01e75c182c813090dc1411baba4f0a221db29d69 (diff)
downloadFreeBSD-src-21afb9f757f2ab8ff1da1b590310b8e2ad639cb7.zip
FreeBSD-src-21afb9f757f2ab8ff1da1b590310b8e2ad639cb7.tar.gz
Now that hme(4) is MI build its module on all platforms.
Tested by: `make universe` and powerpc cross-build on i386
Diffstat (limited to 'sys/modules/hme')
-rw-r--r--sys/modules/hme/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/modules/hme/Makefile b/sys/modules/hme/Makefile
index f99b0f7..8f40371 100644
--- a/sys/modules/hme/Makefile
+++ b/sys/modules/hme/Makefile
@@ -3,7 +3,10 @@
.PATH: ${.CURDIR}/../../dev/hme
KMOD= if_hme
-SRCS= if_hme.c if_hme_pci.c if_hme_sbus.c device_if.h bus_if.h ofw_bus_if.h
-SRCS+= pci_if.h miibus_if.h
+SRCS= bus_if.h device_if.h if_hme.c if_hme_pci.c miibus_if.h pci_if.h
+
+.if ${MACHINE_ARCH} == "sparc64"
+SRCS+= if_hme_sbus.c ofw_bus_if.h
+.endif
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud