summaryrefslogtreecommitdiffstats
path: root/sys/modules/hme/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/hme/Makefile')
-rw-r--r--sys/modules/hme/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/modules/hme/Makefile b/sys/modules/hme/Makefile
index 8f40371..4656281 100644
--- a/sys/modules/hme/Makefile
+++ b/sys/modules/hme/Makefile
@@ -3,10 +3,12 @@
.PATH: ${.CURDIR}/../../dev/hme
KMOD= if_hme
-SRCS= bus_if.h device_if.h if_hme.c if_hme_pci.c miibus_if.h pci_if.h
+SRCS= bus_if.h device_if.h if_hme.c if_hme_pci.c ${if_hme_sbus} miibus_if.h
+SRCS+= ${ofw_bus_if} pci_if.h
-.if ${MACHINE_ARCH} == "sparc64"
-SRCS+= if_hme_sbus.c ofw_bus_if.h
+.if ${MACHINE} == "sparc64"
+if_hme_sbus= if_hme_sbus.c
+ofw_bus_if= ofw_bus_if.h
.endif
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud