2006-03-30 18:33:22 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/../../dev/scc
|
|
|
|
|
2008-05-04 14:59:25 +00:00
|
|
|
.if ${MACHINE} == "sparc64"
|
2006-04-01 04:54:47 +00:00
|
|
|
scc_bfe= scc_bfe_ebus.c scc_bfe_sbus.c
|
|
|
|
.endif
|
2010-09-13 02:05:42 +00:00
|
|
|
.if ${MACHINE_CPUARCH} == "powerpc"
|
2012-02-26 13:27:22 +00:00
|
|
|
scc_bfe= scc_bfe_macio.c scc_bfe_quicc.c scc_dev_quicc.c
|
2006-04-01 04:54:47 +00:00
|
|
|
.endif
|
|
|
|
|
2006-03-30 18:33:22 +00:00
|
|
|
KMOD= scc
|
2006-04-01 04:54:47 +00:00
|
|
|
SRCS= ${scc_bfe} scc_core.c scc_if.c scc_if.h \
|
2006-03-30 18:33:22 +00:00
|
|
|
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>
|