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}
109 .if ${MACHINE_ARCH} == "m68000"
167 .if ${MACHINE_ARCH} == "x86_64"
193 ${MACHINE_ARCH:Maarch64*}
205 ${MACHINE_ARCH:Mearmv7*} || \
206 ${MACHINE_ARCH:Maarch64*} || \
207 ${MACHINE_ARCH} == "riscv64"
216 .if ${HAVE_UEFI} == "yes" && ${MACHINE_ARCH:M*eb} == ""
225 .if ${MACHINE_ARCH} == "x86_64"
232 .if ${MACHINE_ARCH:Mearm*}
233 _LIBC_COMPILER_RT.${MACHINE_ARCH}= yes
245 .if ${HAVE_LLVM:Uno} == "yes" && ${_LIBC_COMPILER_RT.${MACHINE_ARCH}:Uno} == "yes"
253 .if ${HAVE_LLVM:Uno} == "yes" || ${MACHINE_ARCH:Mearm*}
276 .if ${MACHINE_ARCH} == "vax" || ${MACHINE} == "sun2"
356 .if ${MACHINE_ARCH} == "mips" || ${MACHINE_ARCH} == "mips64" || \
357 ${MACHINE_ARCH} == "sh3"
359 @echo "Must set MACHINE_ARCH to one of ${MACHINE_ARCH}eb or ${MACHINE_ARCH}el"
783 .if ${MACHINE_ARCH} == "x86_64" || \
784 ${MACHINE_ARCH} == "i386" || \
785 ${MACHINE_ARCH} == "powerpc64"
982 .if ${MACHINE_ARCH} == "m68000"
1043 MACHINE_GNU_ARCH=${GNU_ARCH.${MACHINE_ARCH}:U${MACHINE_ARCH}}
1049 .if (${MACHINE_ARCH:Mearm*})
1050 MACHINE_GNU_PLATFORM?=${MACHINE_GNU_ARCH}--netbsdelf-${MACHINE_ARCH:C/eb//:C/v[4-7]//:S/earm/eabi/}
1053 ${MACHINE_ARCH} == "i386" || \
1057 ${MACHINE_ARCH} == "sparc" || \
1058 ${MACHINE_ARCH} == "vax")
1064 .if ${MACHINE_ARCH:M*arm*}
1157 .if ${MACHINE_ARCH} == "x86_64" || \
1158 ${MACHINE_ARCH} == "sparc64" || \
1160 ${MACHINE_ARCH} == "powerpc64" || \
1161 (${MACHINE_ARCH} == "aarch64" && ${HAVE_GCC:U0} == 0) || \
1162 ${MACHINE_ARCH} == "riscv64" || \
1163 ${MACHINE_ARCH:Mearm*}
1176 || (${MACHINE} == "evbppc" && ${MACHINE_ARCH} == "powerpc")
1192 .if (${MACHINE_CPU} == "arm" && ${MACHINE_ARCH:M*hf*} == "") || \
1193 ${MACHINE_ARCH} == "coldfire" || ${MACHINE_CPU} == "or1k" || \
1195 ${MACHINE_ARCH} == "m68ksf"
1218 ${MACHINE_ARCH:Maarch64*}
1225 .if ${MACHINE_ARCH} == "i386" || \
1226 ${MACHINE_ARCH} == "x86_64" || \
1227 ${MACHINE_ARCH} == "aarch64" || \
1228 ${MACHINE_ARCH:Mearm*}
1238 (${MACHINE_ARCH} == "i386" || \
1239 ${MACHINE_ARCH} == "x86_64" || \
1240 ${MACHINE_ARCH:Maarch64*} || \
1260 ${MACHINE_ARCH:Maarch64*} || \
1267 .if ${MACHINE_ARCH} == "x86_64" || ${MACHINE_ARCH} == "i386"
1329 ${var}?= ${${var}.${MACHINE_ARCH}:U${${var}.${MACHINE}:Uyes}}
1370 .if ${MACHINE_ARCH} == "ia64"
1523 ${var}?= ${${var}.${MACHINE_ARCH}:U${${var}.${MACHINE}:Uno}}
1613 .if ${MACHINE_ARCH:Mearm*}
1614 _NEEDS_LIBCXX.${MACHINE_ARCH}= yes
1625 .if ${MKLLVM} == "yes" && ${_NEEDS_LIBCXX.${MACHINE_ARCH}:Uno} == "yes"
1666 # for crunchide & ldd, define the OBJECT_FMTS used by a MACHINE_ARCH
1669 .if ${MACHINE_ARCH} != "alpha" && ${MACHINE_ARCH} != "ia64"
1672 .if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH:M*64*} != ""
1673 . if !(${MKCOMPAT:Uyes} == "no" && ${MACHINE_ARCH:Mmips64*} != "")
1727 ${MACHINE_ARCH:Maarch64*})