Lines Matching defs:MACHINE_ARCH
15 # CPU model, derived from MACHINE_ARCH
17 MACHINE_CPU= ${MACHINE_ARCH:C/mips.*e[bl]/mips/:C/sh3e[bl]/sh3/:S/coldfire/m68k/:S/m68000/m68k/:S/m68ksf/m68k/:C/e?arm.*/arm/:S/powerpc64/powerpc/:S/aarch64eb/aarch64/:S/or1knd/or1k/:C/riscv../riscv/}
19 .if (${MACHINE_ARCH} == "mips64el" || \
20 ${MACHINE_ARCH} == "mips64eb" || \
21 ${MACHINE_ARCH} == "mipsn64el" || \
22 ${MACHINE_ARCH} == "mipsn64eb")
28 .if ${MACHINE_ARCH} == "m68ksf"
51 RELEASEMACHINEDIR?= ${MACHINE}-${MACHINE_ARCH}
110 .if ${MACHINE_ARCH} == "m68000"
168 .if ${MACHINE_ARCH} == "x86_64"
194 ${MACHINE_ARCH:Maarch64*}
206 ${MACHINE_ARCH:Mearmv7*} || \
207 ${MACHINE_ARCH:Maarch64*} || \
208 ${MACHINE_ARCH} == "riscv64"
217 .if ${HAVE_UEFI} == "yes" && ${MACHINE_ARCH:M*eb} == ""
226 .if ${MACHINE_ARCH} == "x86_64"
233 .if ${MACHINE_ARCH:Mearm*}
234 _LIBC_COMPILER_RT.${MACHINE_ARCH}= yes
246 .if ${HAVE_LLVM:Uno} == "yes" && ${_LIBC_COMPILER_RT.${MACHINE_ARCH}:Uno} == "yes"
254 .if ${HAVE_LLVM:Uno} == "yes" || ${MACHINE_ARCH:Mearm*}
277 .if ${MACHINE_ARCH} == "vax" || ${MACHINE} == "sun2"
357 .if ${MACHINE_ARCH} == "mips" || ${MACHINE_ARCH} == "mips64" || \
358 ${MACHINE_ARCH} == "sh3"
360 @echo "Must set MACHINE_ARCH to one of ${MACHINE_ARCH}eb or ${MACHINE_ARCH}el"
784 .if ${MACHINE_ARCH} == "x86_64" || \
785 ${MACHINE_ARCH} == "i386" || \
786 ${MACHINE_ARCH} == "powerpc64"
983 .if ${MACHINE_ARCH} == "m68000"
1044 MACHINE_GNU_ARCH=${GNU_ARCH.${MACHINE_ARCH}:U${MACHINE_ARCH}}
1050 .if (${MACHINE_ARCH:Mearm*})
1051 MACHINE_GNU_PLATFORM?=${MACHINE_GNU_ARCH}--netbsdelf-${MACHINE_ARCH:C/eb//:C/v[4-7]//:S/earm/eabi/}
1054 ${MACHINE_ARCH} == "i386" || \
1058 ${MACHINE_ARCH} == "sparc" || \
1059 ${MACHINE_ARCH} == "vax")
1065 .if ${MACHINE_ARCH:M*arm*}
1158 .if ${MACHINE_ARCH} == "x86_64" || \
1159 ${MACHINE_ARCH} == "sparc64" || \
1161 ${MACHINE_ARCH} == "powerpc64" || \
1162 (${MACHINE_ARCH} == "aarch64" && ${HAVE_GCC:U0} == 0) || \
1163 ${MACHINE_ARCH} == "riscv64" || \
1164 ${MACHINE_ARCH:Mearm*}
1177 || (${MACHINE} == "evbppc" && ${MACHINE_ARCH} == "powerpc")
1193 .if (${MACHINE_CPU} == "arm" && ${MACHINE_ARCH:M*hf*} == "") || \
1194 ${MACHINE_ARCH} == "coldfire" || ${MACHINE_CPU} == "or1k" || \
1196 ${MACHINE_ARCH} == "m68ksf"
1219 ${MACHINE_ARCH:Maarch64*}
1226 .if ${MACHINE_ARCH} == "i386" || \
1227 ${MACHINE_ARCH} == "x86_64" || \
1228 ${MACHINE_ARCH} == "aarch64" || \
1229 ${MACHINE_ARCH:Mearm*}
1239 (${MACHINE_ARCH} == "i386" || \
1240 ${MACHINE_ARCH} == "x86_64" || \
1241 ${MACHINE_ARCH:Maarch64*} || \
1261 ${MACHINE_ARCH:Maarch64*} || \
1268 .if ${MACHINE_ARCH} == "x86_64" || ${MACHINE_ARCH} == "i386"
1330 ${var}?= ${${var}.${MACHINE_ARCH}:U${${var}.${MACHINE}:Uyes}}
1371 .if ${MACHINE_ARCH} == "ia64"
1527 ${var}?= ${${var}.${MACHINE_ARCH}:U${${var}.${MACHINE}:Uno}}
1617 .if ${MACHINE_ARCH:Mearm*}
1618 _NEEDS_LIBCXX.${MACHINE_ARCH}= yes
1629 .if ${MKLLVM} == "yes" && ${_NEEDS_LIBCXX.${MACHINE_ARCH}:Uno} == "yes"
1670 # for crunchide & ldd, define the OBJECT_FMTS used by a MACHINE_ARCH
1673 .if ${MACHINE_ARCH} != "alpha" && ${MACHINE_ARCH} != "ia64"
1676 .if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH:M*64*} != ""
1677 . if !(${MKCOMPAT:Uyes} == "no" && ${MACHINE_ARCH:Mmips64*} != "")
1731 ${MACHINE_ARCH:Maarch64*})