xref: /freebsd/sys/modules/cxgbe/Makefile (revision ec0cd287f55f7ea93ff4ccfa4de0f70eca5fef75)
1SYSDIR?=${SRCTOP}/sys
2.include "${SYSDIR}/conf/kern.opts.mk"
3
4SUBDIR=	if_cxgbe
5SUBDIR+=	if_cxl
6SUBDIR+=	if_cc
7SUBDIR+=	if_cxgbev
8SUBDIR+=	if_cxlv
9SUBDIR+=	if_ccv
10SUBDIR+=	t4_firmware
11SUBDIR+=	t5_firmware
12SUBDIR+=	t6_firmware
13SUBDIR+=	t7_firmware
14SUBDIR+=	${_tom}
15SUBDIR+=	${_iw_cxgbe}
16SUBDIR+=	${_cxgbei}
17SUBDIR+=	ccr
18SUBDIR+=	${_nvmf_che}
19
20.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "aarch64"
21_tom=	tom
22_cxgbei=	cxgbei
23_nvmf_che=	nvmf_che
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