freebsd-dev/sys/modules/scc/Makefile
Marius Strobl 07f35f4b9a 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
2008-05-04 14:59:25 +00:00

21 lines
483 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../dev/scc
.if ${MACHINE} == "sparc64"
scc_bfe= scc_bfe_ebus.c scc_bfe_sbus.c
.endif
.if ${MACHINE_ARCH} == "powerpc"
scc_bfe= scc_bfe_macio.c scc_bfe_quicc.c
.endif
KMOD= scc
SRCS= ${scc_bfe} scc_core.c scc_if.c scc_if.h \
scc_dev_sab82532.c scc_dev_z8530.c
SRCS+= bus_if.h device_if.h ofw_bus_if.h serdev_if.c serdev_if.h
MFILES= dev/ofw/ofw_bus_if.m dev/scc/scc_if.m \
kern/bus_if.m kern/device_if.m kern/serdev_if.m
.include <bsd.kmod.mk>