xref: /freebsd/sys/modules/scc/Makefile (revision 193d9e768ba63fcfb187cfd17f461f7d41345048)
16174e6edSMarcel Moolenaar# $FreeBSD$
26174e6edSMarcel Moolenaar
3*193d9e76SEnji Cooper.PATH: ${SRCTOP}/sys/dev/scc
46174e6edSMarcel Moolenaar
507f35f4bSMarius Strobl.if ${MACHINE} == "sparc64"
6a75b305aSMarcel Moolenaarscc_bfe= scc_bfe_ebus.c scc_bfe_sbus.c
7a75b305aSMarcel Moolenaar.endif
8146fce53SWarner Losh.if ${MACHINE_CPUARCH} == "powerpc"
9d72bb9b0SJustin Hibbitsscc_bfe= scc_bfe_macio.c scc_bfe_quicc.c scc_dev_quicc.c
10a75b305aSMarcel Moolenaar.endif
11a75b305aSMarcel Moolenaar
126174e6edSMarcel MoolenaarKMOD=	scc
13a75b305aSMarcel MoolenaarSRCS=	${scc_bfe} scc_core.c scc_if.c scc_if.h \
146174e6edSMarcel Moolenaar	scc_dev_sab82532.c scc_dev_z8530.c
156174e6edSMarcel MoolenaarSRCS+=	bus_if.h device_if.h ofw_bus_if.h serdev_if.c serdev_if.h
166174e6edSMarcel Moolenaar
176174e6edSMarcel Moolenaar.include <bsd.kmod.mk>
18