diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 818f0a3334bb..23679e4f906a 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 f99b0f727035..8f403710ce13 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