NetBSD/compat/archdirs.mk

36 lines
738 B
Makefile
Raw Normal View History

2015-05-27 18:35:23 +03:00
# $NetBSD: archdirs.mk,v 1.10 2015/05/27 15:35:23 matt Exp $
# list of subdirs used per-platform
.if ${MACHINE} == "sparc64"
ARCHDIR_SUBDIR= sparc64/sparc
.endif
.if ${MACHINE} == "amd64"
ARCHDIR_SUBDIR= amd64/i386
.endif
2015-05-27 18:35:23 +03:00
.if !empty(MACHINE_ARCH:Mearm*)
ARCHDIR_SUBDIR= arm/oabi
2013-04-27 12:44:35 +04:00
.endif
.if (${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el")
ARCHDIR_SUBDIR= mips64/64 mips64/o32
.endif
2014-03-07 08:16:25 +04:00
.if ${MACHINE_ARCH} == "powerpc64"
ARCHDIR_SUBDIR= powerpc64/powerpc
.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
.endif
2014-08-11 03:40:33 +04:00
.if (${MACHINE_ARCH} == "aarch64")
ARCHDIR_SUBDIR+= arm/eabi
ARCHDIR_SUBDIR+= arm/eabihf
2014-08-11 03:40:33 +04:00
ARCHDIR_SUBDIR+= arm/oabi
2014-08-11 08:33:30 +04:00
.elif (${MACHINE_ARCH} == "aarch64eb")
2014-08-11 03:40:33 +04:00
ARCHDIR_SUBDIR= arm/eabi
.endif