aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2013-10-18 09:17:35 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2013-10-18 09:17:35 +0000
commit421b30efb520737825e9ac7e57caff28634c5c9f (patch)
treea040b5c416eda0fe2a2539ccb7d89d4f3996aee5 /sys/modules
parent19e5b2d50eb01ed6ea59ae3ff449ea72081ffb56 (diff)
Notes
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile4
-rw-r--r--sys/modules/cxgb/Makefile5
-rw-r--r--sys/modules/cxgbe/Makefile5
3 files changed, 13 insertions, 1 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 8e7c895da835..28d50cc46437 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -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
diff --git a/sys/modules/cxgb/Makefile b/sys/modules/cxgb/Makefile
index 325c70501209..a84dbaf23359 100644
--- a/sys/modules/cxgb/Makefile
+++ b/sys/modules/cxgb/Makefile
@@ -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>
diff --git a/sys/modules/cxgbe/Makefile b/sys/modules/cxgbe/Makefile
index d7ce6471ba0c..86ce82e9e45d 100644
--- a/sys/modules/cxgbe/Makefile
+++ b/sys/modules/cxgbe/Makefile
@@ -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>