xref: /freebsd/sys/modules/sound/driver/Makefile (revision 498368529011086067ed48e40cbfd46a4d5ef2ca)
1*49836852SWarner Losh.include "${SRCTOP}/sys/conf/kern.opts.mk"
24a47892cSRobert Millan
34a47892cSRobert Millan# Modules that include binary-only blobs of microcode should be selectable by
44a47892cSRobert Millan# MK_SOURCELESS_UCODE option (see below).
54a47892cSRobert Millan
6df51e63eSEd MasteSUBDIR=		als4000 atiixp cs4281 ${_csa} emu10k1 emu10kx
75687c71dSFlorian WalpenSUBDIR+=	envy24 envy24ht es137x fm801 hda hdsp hdspe ich
8716924cbSEd MasteSUBDIR+=	${_maestro3} neomagic solo spicds t4dwave via8233
98486eb86SNathan WhitehornSUBDIR+=	via82c686 vibes driver uaudio
10c15c9315SChristos MargiolisSUBDIR+=	dummy
118486eb86SNathan Whitehorn
124a47892cSRobert Millan.if ${MK_SOURCELESS_UCODE} != "no"
134a47892cSRobert Millan_csa=		csa
144a47892cSRobert Millan_maestro3=	maestro3
154a47892cSRobert Millan.endif
164a47892cSRobert Millan
17c09808d0SWarner Losh.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
185126e5eeSEd MasteSUBDIR+=	cmi
198486eb86SNathan Whitehorn.endif
208486eb86SNathan Whitehorn
21a393ae13SNathan Whitehorn.if ${MACHINE_CPUARCH} == "powerpc"
228486eb86SNathan WhitehornSUBDIR+=	ai2s davbus
237a7386a3SPyun YongHyeon.endif
244f767b9dSCameron Grant
254f767b9dSCameron Grant.include <bsd.subdir.mk>
26