blob: 679c094a64a0da7e5c3cd3287b03ad1801a07eca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# $NetBSD: platform.mk,v 1.1 2020/06/24 11:16:00 nia Exp $
.include "../../mk/bsd.fast.prefs.mk"
.if !defined(PLATFORM_SUPPORTS_LUAJIT)
. for _luajit_arch in *arm* i386 mipseb mipsel powerpc x86_64
LUAJIT_PLATFORMS+= *-*-${_luajit_arch}
. endfor
. for _luajit_platform in ${LUAJIT_PLATFORMS}
. if !empty(MACHINE_PLATFORM:M${_luajit_platform})
PLATFORM_SUPPORTS_LUAJIT= yes
. endif
. endfor
PLATFORM_SUPPORTS_LUAJIT?= no
.endif # !defined(PLATFORM_SUPPORTS_LUAJIT)
|