From ac341582da3e78a43b500c577881969a60afdbe2 Mon Sep 17 00:00:00 2001 From: Marius Strobl Date: Sat, 14 Aug 2004 22:40:16 +0000 Subject: [PATCH] Now that hme(4) is MI build its module on all platforms. Tested by: `make universe` and powerpc cross-build on i386 --- sys/modules/Makefile | 3 +-- sys/modules/hme/Makefile | 7 +++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 818f0a3334b..23679e4f906 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -82,7 +82,7 @@ SUBDIR= ${_3dfx} \ hatm \ ${_hfa} \ hifn \ - ${_hme} \ + hme \ ${_i2c} \ ${_ibcs2} \ ${_ichwd} \ @@ -421,7 +421,6 @@ _gem= gem .if ${MACHINE_ARCH} == "sparc64" _gem= gem -_hme= hme .endif .if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES) diff --git a/sys/modules/hme/Makefile b/sys/modules/hme/Makefile index f99b0f72703..8f403710ce1 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 -- 2.45.2