aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/modules/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 0d3c88879ef38..e5ef5483483d1 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -266,9 +266,12 @@ SUBDIR+=linprocfs \
vinum
.endif
+.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64"
+SUBDIR+=gem
+.endif
+
.if ${MACHINE_ARCH} == "sparc64"
-SUBDIR+=hme \
- gem
+SUBDIR+=hme
.endif
.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES)