Changeset View
Changeset View
Standalone View
Standalone View
head/Makefile.inc1
Show First 20 Lines • Show All 124 Lines • ▼ Show 20 Lines | |||||
TARGET_ABI= gnueabi | TARGET_ABI= gnueabi | ||||
.endif | .endif | ||||
.endif | .endif | ||||
MACHINE_ABI?= unknown | MACHINE_ABI?= unknown | ||||
MACHINE_TRIPLE?=${MACHINE_ARCH:S/amd64/x86_64/:C/hf$//:S/mipsn32/mips64/}-${MACHINE_ABI}-freebsd12.0 | MACHINE_TRIPLE?=${MACHINE_ARCH:S/amd64/x86_64/:C/hf$//:S/mipsn32/mips64/}-${MACHINE_ABI}-freebsd12.0 | ||||
TARGET_ABI?= unknown | TARGET_ABI?= unknown | ||||
TARGET_TRIPLE?= ${TARGET_ARCH:S/amd64/x86_64/:C/hf$//:S/mipsn32/mips64/}-${TARGET_ABI}-freebsd12.0 | TARGET_TRIPLE?= ${TARGET_ARCH:S/amd64/x86_64/:C/hf$//:S/mipsn32/mips64/}-${TARGET_ABI}-freebsd12.0 | ||||
# If all targets are disabled for system llvm then don't expect it to work | |||||
# for cross-builds. | |||||
.if ${MK_LLVM_TARGET_ALL} == "no" && \ | |||||
${MACHINE} != ${TARGET} && ${MACHINE_ARCH} != ${TARGET_ARCH} && \ | |||||
!make(showconfig) | |||||
MK_SYSTEM_COMPILER= no | |||||
MK_SYSTEM_LINKER= no | |||||
.endif | |||||
# Handle external binutils. | # Handle external binutils. | ||||
.if defined(CROSS_TOOLCHAIN_PREFIX) | .if defined(CROSS_TOOLCHAIN_PREFIX) | ||||
CROSS_BINUTILS_PREFIX?=${CROSS_TOOLCHAIN_PREFIX} | CROSS_BINUTILS_PREFIX?=${CROSS_TOOLCHAIN_PREFIX} | ||||
.endif | .endif | ||||
# If we do not have a bootstrap binutils (because the in-tree one does not | # If we do not have a bootstrap binutils (because the in-tree one does not | ||||
# support the target architecture), provide a default cross-binutils prefix. | # support the target architecture), provide a default cross-binutils prefix. | ||||
# This allows riscv64 builds, for example, to automatically use the | # This allows riscv64 builds, for example, to automatically use the | ||||
# riscv64-binutils port or package. | # riscv64-binutils port or package. | ||||
▲ Show 20 Lines • Show All 2,974 Lines • Show Last 20 Lines |