85dc477798
a dependency. This ensures "ifconfig cxl<n> ..." does the right thing even when it's run with no driver loaded. if_cxl.ko is the tiniest module in /boot/kernel. MFC after: 2 weeks
27 lines
399 B
Makefile
27 lines
399 B
Makefile
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
SYSDIR?=${.CURDIR}/../..
|
|
.include "${SYSDIR}/conf/kern.opts.mk"
|
|
|
|
SUBDIR= if_cxgbe
|
|
SUBDIR+= if_cxl
|
|
SUBDIR+= t4_firmware
|
|
SUBDIR+= t5_firmware
|
|
SUBDIR+= ${_tom}
|
|
SUBDIR+= ${_iw_cxgbe}
|
|
|
|
.if ${MACHINE_CPUARCH} == "amd64"
|
|
_tom= tom
|
|
.if ${MK_OFED} != "no" || defined(ALL_MODULES)
|
|
_iw_cxgbe= iw_cxgbe
|
|
.endif
|
|
.endif
|
|
|
|
.if ${MACHINE_CPUARCH} == "i386"
|
|
_tom= tom
|
|
.endif
|
|
|
|
.include <bsd.subdir.mk>
|