193d9e768b
This simplifies make output/logic Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 MFC after: 1 month Sponsored by: Dell EMC Isilon
19 lines
328 B
Makefile
19 lines
328 B
Makefile
# $FreeBSD$
|
|
|
|
SYSDIR?=${SRCTOP}/sys
|
|
.include "${SYSDIR}/conf/kern.opts.mk"
|
|
|
|
SUBDIR= cxgb
|
|
SUBDIR+= cxgb_t3fw
|
|
SUBDIR+= ${_tom}
|
|
SUBDIR+= ${_iw_cxgb}
|
|
|
|
.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
|
|
_tom= tom
|
|
.if ${MK_OFED} != "no" || defined(ALL_MODULES)
|
|
_iw_cxgb= iw_cxgb
|
|
.endif
|
|
.endif
|
|
|
|
.include <bsd.subdir.mk>
|