summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2015-08-08 21:09:41 +0000
committerrpaulo <rpaulo@FreeBSD.org>2015-08-08 21:09:41 +0000
commit593706bd8a33a07661ce0846e3e644780fef3ec3 (patch)
treebd203f8024b841a5cd80656953f96b22bcedf988
parent71a15e85fce42b358d7cae84ad43492d73643447 (diff)
downloadFreeBSD-src-593706bd8a33a07661ce0846e3e644780fef3ec3.zip
FreeBSD-src-593706bd8a33a07661ce0846e3e644780fef3ec3.tar.gz
Build the iwm and iwmfw modules by default on x86.
-rw-r--r--sys/modules/Makefile16
-rw-r--r--sys/modules/iwm/Makefile3
2 files changed, 9 insertions, 10 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 7b0e286..bd52356 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -174,6 +174,8 @@ SUBDIR= \
${_ispfw} \
${_iwi} \
${_iwifw} \
+ ${_iwm} \
+ ${_iwmfw} \
${_iwn} \
${_iwnfw} \
${_ix} \
@@ -575,20 +577,18 @@ _ida= ida
_iir= iir
_ipmi= ipmi
_ips= ips
-_ipw= ipw
-.if ${MK_SOURCELESS_UCODE} != "no"
-_ipwfw= ipwfw
-.endif
_isci= isci
+_ipw= ipw
_iwi= iwi
-.if ${MK_SOURCELESS_UCODE} != "no"
-_iwifw= iwifw
-.endif
+_iwm= iwm
_iwn= iwn
+_ixgb= ixgb
.if ${MK_SOURCELESS_UCODE} != "no"
+_ipwfw= ipwfw
+_iwifw= iwifw
+_iwmfw= iwmfw
_iwnfw= iwnfw
.endif
-_ixgb= ixgb
.if ${MK_OFED} != "no" || defined(ALL_MODULES)
_mlx4= mlx4
_mlx4ib= mlx4ib
diff --git a/sys/modules/iwm/Makefile b/sys/modules/iwm/Makefile
index 9dc9919..f37c747 100644
--- a/sys/modules/iwm/Makefile
+++ b/sys/modules/iwm/Makefile
@@ -9,9 +9,8 @@ SRCS+= if_iwm_mac_ctxt.c if_iwm_phy_ctxt.c if_iwm_time_event.c
SRCS+= if_iwm_power.c if_iwm_scan.c
# bus layer
SRCS+= if_iwm_pcie_trans.c
-
SRCS+= device_if.h bus_if.h pci_if.h opt_wlan.h
-CFLAGS+= -DIWM_DEBUG -I${.CURDIR}/../../dev/iwm
+CFLAGS+= -DIWM_DEBUG
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud