freebsd-dev/sys/modules/cxgbe/Makefile
Navdeep Parhar 85dc477798 cxgbe(4): Add a minimal if_cxl module that pulls in the real driver as
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
2015-02-06 01:10:04 +00:00

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>