aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2016-07-13 01:35:53 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2016-07-13 01:35:53 +0000
commitb987685fe08012fdc8758d6e25293726ddbf2400 (patch)
treeb958654d9c17b5d426b5fbbe0c0a5a9d515d3d3a /Makefile
parent1be25cc928456d1f394d06c4a5b76f7248a5eb89 (diff)
downloadsrc-b987685fe08012fdc8758d6e25293726ddbf2400.tar.gz
src-b987685fe08012fdc8758d6e25293726ddbf2400.zip
Revert r302670 and r302671 for now.
MACHINE_CPUARCH smells like MACHINE except for arm64/aarch64 which has it backwards.
Notes
Notes: svn path=/head/; revision=302690
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7687a24fff69..a1d08fc7fdb1 100644
--- a/Makefile
+++ b/Makefile
@@ -235,7 +235,7 @@ _MAKE+= MK_META_MODE=no
_TARGET_ARCH= ${TARGET:S/pc98/i386/:S/arm64/aarch64/}
.elif !defined(TARGET) && defined(TARGET_ARCH) && \
${TARGET_ARCH} != ${MACHINE_ARCH}
-_TARGET= ${TARGET_ARCH:${MACHINE_CPUARCH_SUB:ts:}}
+_TARGET= ${TARGET_ARCH:C/mips(n32|64)?(el)?/mips/:C/arm(v6)?(eb)?/arm/:C/aarch64/arm64/:C/powerpc64/powerpc/:C/riscv64/riscv/}
.endif
.if defined(TARGET) && !defined(_TARGET)
_TARGET=${TARGET}