summaryrefslogtreecommitdiffstats
path: root/sys/modules/cxgb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/cxgb/Makefile')
-rw-r--r--sys/modules/cxgb/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/modules/cxgb/Makefile b/sys/modules/cxgb/Makefile
index 71cbb7a..a6af817 100644
--- a/sys/modules/cxgb/Makefile
+++ b/sys/modules/cxgb/Makefile
@@ -28,11 +28,11 @@ _toecore = toecore
#_tom = tom
.endif
-.if ${MACHINE_ARCH} == "i386" && exists(${_toe_header})
+.if ${MACHINE_CPUARCH} == "i386" && exists(${_toe_header})
_iw_cxgb = iw_cxgb
.endif
-.if ${MACHINE_ARCH} == "amd64" && exists(${_toe_header})
+.if ${MACHINE_CPUARCH} == "amd64" && exists(${_toe_header})
_iw_cxgb = iw_cxgb
.endif
OpenPOWER on IntegriCloud