Don't build krping.ko, iw_cxgb.ko, and iw_cxgbe.ko, if MK_OFED=no
(the default). They build, but are unloadable, due to missing ibcore.ko. Sponsored by: FreeBSD Foundation
This commit is contained in:
parent
19e5b2d50e
commit
421b30efb5
@ -532,7 +532,9 @@ _opensolaris= opensolaris
|
||||
_pccard= pccard
|
||||
_pcfclock= pcfclock
|
||||
_pst= pst
|
||||
.if ${MK_OFED} != "no" || defined(ALL_MODULES)
|
||||
_rdma= rdma
|
||||
.endif
|
||||
_safe= safe
|
||||
_sbni= sbni
|
||||
_scsi_low= scsi_low
|
||||
@ -743,7 +745,9 @@ _pccard= pccard
|
||||
_qlxge= qlxge
|
||||
_qlxgb= qlxgb
|
||||
_qlxgbe= qlxgbe
|
||||
.if ${MK_OFED} != "no" || defined(ALL_MODULES)
|
||||
_rdma= rdma
|
||||
.endif
|
||||
_s3= s3
|
||||
_safe= safe
|
||||
_scsi_low= scsi_low
|
||||
|
@ -1,4 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
SUBDIR= cxgb
|
||||
SUBDIR+= cxgb_t3fw
|
||||
SUBDIR+= ${_tom}
|
||||
@ -6,7 +9,9 @@ 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>
|
||||
|
@ -2,6 +2,8 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
SUBDIR = if_cxgbe
|
||||
SUBDIR+= t4_firmware
|
||||
SUBDIR+= t5_firmware
|
||||
@ -10,12 +12,13 @@ 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>
|
||||
|
Loading…
Reference in New Issue
Block a user