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
This commit is contained in:
Marius Strobl 2008-05-04 14:59:25 +00:00
parent 60e2edce55
commit 07f35f4b9a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=178762
8 changed files with 26 additions and 23 deletions

View file

@ -1,15 +1,13 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../../dev/esp ${.CURDIR}/../../sparc64/sbus
.PATH: ${.CURDIR}/../../dev/esp
KMOD= esp
SRCS= device_if.h ${esp_sbus} bus_if.h ncr53c9x.c ${ofw_bus_if} opt_cam.h
SRCS= ncr53c9x.c
SRCS+= opt_ddb.h opt_cam.h
SRCS+= device_if.h bus_if.h
.if ${MACHINE_ARCH} == "sparc64"
SRCS+= esp_sbus.c ofw_bus_if.h
.if ${MACHINE} == "sparc64"
ofw_bus_if= ofw_bus_if.h
esp_sbus= esp_sbus.c
.endif
.include <bsd.kmod.mk>

View file

@ -1,14 +1,14 @@
# $FreeBSD$
SUBDIR= hfa pci
SUBDIR= ${eisa} hfa pci ${sbus}
.ifdef notyet
.if ${MACHINE_ARCH} == "i386"
SUBDIR+=eisa
eisa= eisa
.endif
.if ${MACHINE_ARCH} == "sparc64"
SUBDIR+=sbus
.if ${MACHINE} == "sparc64"
sbus= sbus
.endif
.endif

View file

@ -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>

View file

@ -7,7 +7,7 @@ SRCS= bus_if.h device_if.h pci_if.h \
opt_cam.h opt_ddb.h opt_isp.h \
isp.c isp_library.c isp_target.c isp_freebsd.c isp_pci.c
.if ${MACHINE_ARCH} == sparc64
.if ${MACHINE} == sparc64
SRCS+= isp_sbus.c ofw_bus_if.h
.endif

View file

@ -39,7 +39,7 @@ SUBDIR += isp_2200
SUBDIR += isp_2300
SUBDIR += isp_2322
SUBDIR += isp_2400
.if ${MACHINE_ARCH} == "sparc64"
.if ${MACHINE} == "sparc64"
SUBDIR += isp_1000
.endif

View file

@ -16,7 +16,7 @@ if_le_isa= if_le_isa.c
isa_if= isa_if.h
.endif
.if ${MACHINE_ARCH} == "sparc64"
.if ${MACHINE} == "sparc64"
if_le_lebuffer= if_le_lebuffer.c
if_le_ledma= if_le_ledma.c
lebuffer_sbus= lebuffer_sbus.c

View file

@ -2,7 +2,7 @@
.PATH: ${.CURDIR}/../../dev/scc
.if ${MACHINE_ARCH} == "sparc64"
.if ${MACHINE} == "sparc64"
scc_bfe= scc_bfe_ebus.c scc_bfe_sbus.c
.endif
.if ${MACHINE_ARCH} == "powerpc"

View file

@ -1,12 +1,15 @@
# $FreeBSD$
.if ${MACHINE_ARCH} == "sparc64"
SUBDIR = audiocs es137x
.if ${MACHINE} == "sparc64"
audiocs= audiocs
.endif
SUBDIR= ${audiocs} es137x
.else
SUBDIR = ad1816 als4000 atiixp cmi cs4281 csa ds1 emu10k1 emu10kx envy24
SUBDIR += envy24ht es137x ess fm801 hda ich maestro maestro3 mss neomagic
SUBDIR += sb16 sb8 sbc solo spicds t4dwave via8233 via82c686 vibes
SUBDIR += driver uaudio
SUBDIR= ad1816 als4000 atiixp cmi cs4281 csa ds1 emu10k1 emu10kx envy24
SUBDIR= envy24ht es137x ess fm801 hda ich maestro maestro3 mss neomagic
SUBDIR= sb16 sb8 sbc solo spicds t4dwave via8233 via82c686 vibes
SUBDIR= driver uaudio
.endif
.include <bsd.subdir.mk>