xref: /freebsd/sys/modules/cxgbe/Makefile (revision 031beb4e239bfce798af17f5fe8dba8bcaf13d99)
1#
2#
3
4SYSDIR?=${SRCTOP}/sys
5.include "${SYSDIR}/conf/kern.opts.mk"
6
7SUBDIR=	if_cxgbe
8SUBDIR+=	if_cxl
9SUBDIR+=	if_cc
10SUBDIR+=	if_cxgbev
11SUBDIR+=	if_cxlv
12SUBDIR+=	if_ccv
13SUBDIR+=	t4_firmware
14SUBDIR+=	t5_firmware
15SUBDIR+=	t6_firmware
16SUBDIR+=	${_tom}
17SUBDIR+=	${_iw_cxgbe}
18SUBDIR+=	${_cxgbei}
19SUBDIR+=	ccr
20
21.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "aarch64"
22_tom=	tom
23_cxgbei=	cxgbei
24.if ${MK_OFED} != "no" || defined(ALL_MODULES)
25_iw_cxgbe=	iw_cxgbe
26.endif
27.endif
28
29.if ${MACHINE_CPUARCH} == "i386"
30_tom=	tom
31.endif
32
33.include <bsd.subdir.mk>
34