2021-06-07 20:11:16 +03:00
|
|
|
# $NetBSD: archdirs.mk,v 1.14 2021/06/07 17:11:16 christos Exp $
|
2009-12-13 12:27:13 +03:00
|
|
|
|
|
|
|
# list of subdirs used per-platform
|
|
|
|
|
|
|
|
.if ${MACHINE} == "sparc64"
|
2019-06-14 00:17:54 +03:00
|
|
|
ARCHDIR_SUBDIR+= sparc64/sparc
|
2009-12-13 12:27:13 +03:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MACHINE} == "amd64"
|
2019-06-14 00:17:54 +03:00
|
|
|
ARCHDIR_SUBDIR+= amd64/i386
|
2009-12-13 12:27:13 +03:00
|
|
|
.endif
|
|
|
|
|
2021-04-25 18:18:23 +03:00
|
|
|
.if !empty(MACHINE_ARCH:Mmips64*)
|
2019-06-14 00:17:54 +03:00
|
|
|
ARCHDIR_SUBDIR+= mips64/64
|
|
|
|
ARCHDIR_SUBDIR+= mips64/o32
|
2009-12-13 12:27:13 +03:00
|
|
|
.endif
|
2014-03-07 08:16:25 +04:00
|
|
|
|
2021-04-25 18:18:23 +03:00
|
|
|
.if !empty(MACHINE_ARCH:Mmipsn64*)
|
|
|
|
ARCHDIR_SUBDIR+= mips64/n32
|
|
|
|
ARCHDIR_SUBDIR+= mips64/o32
|
|
|
|
.endif
|
|
|
|
|
2014-03-07 08:16:25 +04:00
|
|
|
.if ${MACHINE_ARCH} == "powerpc64"
|
2019-06-14 00:17:54 +03:00
|
|
|
ARCHDIR_SUBDIR+= powerpc64/powerpc
|
2014-03-07 08:16:25 +04:00
|
|
|
.endif
|
2014-08-11 03:40:33 +04:00
|
|
|
|
2014-09-19 21:38:46 +04:00
|
|
|
.if ${MACHINE_ARCH} == "riscv64"
|
2019-06-14 00:17:54 +03:00
|
|
|
ARCHDIR_SUBDIR+= riscv64/rv32
|
2014-09-19 21:38:46 +04:00
|
|
|
.endif
|
|
|
|
|
2018-07-16 03:32:59 +03:00
|
|
|
.if ${ACTIVE_CC} == "clang"
|
2014-08-11 03:40:33 +04:00
|
|
|
.if (${MACHINE_ARCH} == "aarch64")
|
|
|
|
ARCHDIR_SUBDIR+= arm/eabi
|
2014-09-11 02:43:36 +04:00
|
|
|
ARCHDIR_SUBDIR+= arm/eabihf
|
2014-08-11 08:33:30 +04:00
|
|
|
.elif (${MACHINE_ARCH} == "aarch64eb")
|
2019-06-14 00:17:54 +03:00
|
|
|
ARCHDIR_SUBDIR+= arm/eabi
|
2014-08-11 03:40:33 +04:00
|
|
|
.endif
|
2018-07-16 03:32:59 +03:00
|
|
|
.endif
|