[BACK]Return to archdirs.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / compat

File: [cvs.NetBSD.org] / src / compat / archdirs.mk (download)

Revision 1.12, Thu Jun 13 21:17:54 2019 UTC (16 months, 1 week ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, netbsd-9-base, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp, HEAD
Changes since 1.11: +9 -8 lines

make all lines look the same, and put one arch per line.

#	$NetBSD: archdirs.mk,v 1.12 2019/06/13 21:17:54 christos Exp $

# list of subdirs used per-platform

.if ${MACHINE} == "sparc64"
ARCHDIR_SUBDIR+= sparc64/sparc
.endif

.if ${MACHINE} == "amd64"
ARCHDIR_SUBDIR+= amd64/i386
.endif

.if !empty(MACHINE_ARCH:Mearm*)
ARCHDIR_SUBDIR+= arm/oabi
.endif

.if (${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el")
ARCHDIR_SUBDIR+= mips64/64
ARCHDIR_SUBDIR+= mips64/o32
.endif

.if ${MACHINE_ARCH} == "powerpc64"
ARCHDIR_SUBDIR+= powerpc64/powerpc
.endif

.if ${MACHINE_ARCH} == "riscv64"
ARCHDIR_SUBDIR+= riscv64/rv32
.endif

.if ${ACTIVE_CC} == "clang"
.if (${MACHINE_ARCH} == "aarch64")
ARCHDIR_SUBDIR+= arm/eabi
ARCHDIR_SUBDIR+= arm/eabihf
ARCHDIR_SUBDIR+= arm/oabi
.elif (${MACHINE_ARCH} == "aarch64eb")
ARCHDIR_SUBDIR+= arm/eabi
.endif
.endif