a5887d4e99
use the proper variant of arm*--netbsdelf-eabihf
40 lines
901 B
Makefile
40 lines
901 B
Makefile
# $NetBSD: archdirs.mk,v 1.7 2014/09/10 22:43:36 matt Exp $
|
|
|
|
# list of subdirs used per-platform
|
|
|
|
.if ${MACHINE} == "sparc64"
|
|
ARCHDIR_SUBDIR= sparc64/sparc
|
|
.endif
|
|
|
|
.if ${MACHINE} == "amd64"
|
|
ARCHDIR_SUBDIR= amd64/i386
|
|
.endif
|
|
|
|
.if (${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "armeb")
|
|
ARCHDIR_SUBDIR= arm/eabi
|
|
.endif
|
|
|
|
.if (${MACHINE_ARCH} == "earm" || ${MACHINE_ARCH} == "earmeb")
|
|
ARCHDIR_SUBDIR= arm/oabi
|
|
.endif
|
|
|
|
.if (${MACHINE_ARCH} == "earmhf" || ${MACHINE_ARCH} == "earmhfeb")
|
|
ARCHDIR_SUBDIR= arm/oabi arm/eabi
|
|
.endif
|
|
|
|
.if (${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el")
|
|
ARCHDIR_SUBDIR= mips64/64 mips64/o32
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} == "powerpc64"
|
|
ARCHDIR_SUBDIR= powerpc64/powerpc
|
|
.endif
|
|
|
|
.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
|