From 3c64a86d3bc5b9318b3464deb481784be07927f3 Mon Sep 17 00:00:00 2001 From: marius Date: Sun, 4 May 2008 14:59:25 +0000 Subject: 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 --- sys/modules/hme/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'sys/modules/hme') 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 -- cgit v1.1