xref: /netbsd-src/compat/archdirs.mk (revision b7b7574d3bf8eeb51a1fa3977b59142ec6434a55)
1#	$NetBSD: archdirs.mk,v 1.4 2014/03/07 04:16:25 matt Exp $
2
3# list of subdirs used per-platform
4
5.if ${MACHINE} == "sparc64"
6ARCHDIR_SUBDIR=	sparc64/sparc
7.endif
8
9.if ${MACHINE} == "amd64"
10ARCHDIR_SUBDIR=	amd64/i386
11.endif
12
13.if (${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "armeb")
14ARCHDIR_SUBDIR=	arm/eabi
15.endif
16
17.if (${MACHINE_ARCH} == "earm" || ${MACHINE_ARCH} == "earmeb")
18ARCHDIR_SUBDIR=	arm/oabi
19.endif
20
21.if (${MACHINE_ARCH} == "earmhf" || ${MACHINE_ARCH} == "earmhfeb")
22ARCHDIR_SUBDIR=	arm/oabi arm/eabi
23.endif
24
25.if (${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el")
26ARCHDIR_SUBDIR=	mips64/64 mips64/o32
27.endif
28
29.if ${MACHINE_ARCH} == "powerpc64"
30ARCHDIR_SUBDIR= powerpc64/powerpc
31.endif
32