summaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authoralnsn <alnsn@NetBSD.org>2013-11-17 18:58:28 +0000
committeralnsn <alnsn@NetBSD.org>2013-11-17 18:58:28 +0000
commitc0cd4a3a1c5b2db1d1eb61822bbccf1279c2dc28 (patch)
treeddc539b4265c90e648d5326db3703ced2d7816e4 /sys/modules
parent0b8e332b265b914c16493893221ab9b7141472d9 (diff)
Build and install sljit.kmod and bpfjit.kmod iff ${MKSLJIT} != "no".
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 5d33cb0ff29..924df92ee41 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.125 2013/11/17 17:16:24 bad Exp $
+# $NetBSD: Makefile,v 1.126 2013/11/17 18:58:28 alnsn Exp $
.include <bsd.own.mk>
@@ -129,12 +129,15 @@ SUBDIR+= tprof_amdpmi
SUBDIR+= vmt
.endif
+.if ${MKSLJIT} != "no"
+# No modules for arm, mips and powerpc yet.
.if ${MACHINE_ARCH} == "i386" || \
${MACHINE_ARCH} == "x86_64" || \
${MACHINE_ARCH} == "sparc"
SUBDIR+= bpfjit
SUBDIR+= sljit
.endif
+.endif
#
# ACPI modules