summaryrefslogtreecommitdiffstats
path: root/sys/modules/hme
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2008-05-04 14:59:25 +0000
committermarius <marius@FreeBSD.org>2008-05-04 14:59:25 +0000
commit3c64a86d3bc5b9318b3464deb481784be07927f3 (patch)
treed204b38fdb89bb28aab25b0b3da7863afa593e7e /sys/modules/hme
parentbb68298f623ded730e0dc981b2f072c542325a78 (diff)
downloadFreeBSD-src-3c64a86d3bc5b9318b3464deb481784be07927f3.zip
FreeBSD-src-3c64a86d3bc5b9318b3464deb481784be07927f3.tar.gz
Don't build unused SBus front-ends for sun4v, don't build EBus front-ends
which are also likely to be irrelevant for sun4v (there's no SBus on sun4v and only some EBus devices). While at it fix some style bugs according to style.Makefile(5) where appropriate. MFC after: 3 days
Diffstat (limited to 'sys/modules/hme')
-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