xref: /netbsd-src/sys/compat/netbsd32/netbsd32.mk (revision 25aecf51e6cc0c407b9a6036a050c5d7acc2f649)
1#	$NetBSD: netbsd32.mk,v 1.3 2021/04/25 22:27:08 christos Exp $
2
3# makefile fragment that tells you if you should support netbsd32 or not.
4# include this and check ${COMPAT_USE_NETBSD32} != "no".
5
6.if ${MACHINE_ARCH} == "x86_64" \
7    || ${MACHINE_CPU} == "arm" \
8    || ${MACHINE_CPU} == "aarch64" \
9    || ${MACHINE_ARCH} == "sparc64" \
10    || (${MACHINE_MIPS64} && !defined(BSD_MK_COMPAT_FILE))
11COMPAT_USE_NETBSD32?=yes
12.else
13COMPAT_USE_NETBSD32?=no
14.endif
15