summaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authoralnsn <alnsn@NetBSD.org>2019-01-21 00:21:48 +0000
committeralnsn <alnsn@NetBSD.org>2019-01-21 00:21:48 +0000
commit95ba9c0c252dbc8715f2a671b66a138b95c18ca3 (patch)
tree63cb2732d45ab108dd9a5bfcd393226458ef432d /sys/modules
parent744c5d04e17d26daf4b0b8eee83d87b8276bd4e5 (diff)
Build bpfjit and sljit modules on aarch64.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 3378ce99ecf..f896b2e689d 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.214 2018/12/19 13:57:52 maxv Exp $
+# $NetBSD: Makefile,v 1.215 2019/01/21 00:21:48 alnsn Exp $
.include <bsd.own.mk>
@@ -212,10 +212,11 @@ SUBDIR+= ubsec # Builds on architectures with PCI bus
.endif
.if ${MKSLJIT} != "no"
-# No modules for arm, mips and powerpc yet.
-.if ${MACHINE_ARCH} == "i386" || \
- ${MACHINE_ARCH} == "x86_64" || \
- ${MACHINE_ARCH} == "sparc"
+# No modules for 32-bit arm, mips and powerpc yet.
+.if ${MACHINE_ARCH} == "aarch64" || \
+ ${MACHINE_ARCH} == "i386" || \
+ ${MACHINE_ARCH} == "sparc" || \
+ ${MACHINE_ARCH} == "x86_64"
SUBDIR+= bpfjit
SUBDIR+= sljit
.endif