NetBSD/compat/archdirs.mk

39 lines
773 B
Makefile
Raw Permalink Normal View History

# $NetBSD: archdirs.mk,v 1.14 2021/06/07 17:11:16 christos Exp $
# list of subdirs used per-platform
.if ${MACHINE} == "sparc64"
ARCHDIR_SUBDIR+= sparc64/sparc
.endif
.if ${MACHINE} == "amd64"
ARCHDIR_SUBDIR+= amd64/i386
.endif
2021-04-25 18:18:23 +03:00
.if !empty(MACHINE_ARCH:Mmips64*)
ARCHDIR_SUBDIR+= mips64/64
ARCHDIR_SUBDIR+= mips64/o32
.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"
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"
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
ARCHDIR_SUBDIR+= arm/eabihf
2014-08-11 08:33:30 +04:00
.elif (${MACHINE_ARCH} == "aarch64eb")
ARCHDIR_SUBDIR+= arm/eabi
2014-08-11 03:40:33 +04:00
.endif
2018-07-16 03:32:59 +03:00
.endif