aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2016-07-12 18:57:25 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2016-07-12 18:57:25 +0000
commit8a6bdc134d4ecd89aef8b74441c6ea746e1720a8 (patch)
tree950746b6d1cca8b28eefb9d5e8e0af3faf8bec34 /Makefile
parentdb16ab7ea011be42be79ee298998d04ffbfe1dfa (diff)
downloadsrc-8a6bdc134d4ecd89aef8b74441c6ea746e1720a8.tar.gz
src-8a6bdc134d4ecd89aef8b74441c6ea746e1720a8.zip
Create one list of replacements for MACHINE_CPUARCH as MACHINE_CPUARCH_SUB.
This also adds missing s/aarch64/arm64 to the sys.mk version and also adds back armv6hf for universe since it was added to the sys.mk version in r300438. MFC after: 3 days Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D7159
Notes
Notes: svn path=/head/; revision=302670
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a1d08fc7fdb1..7687a24fff69 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:C/mips(n32|64)?(el)?/mips/:C/arm(v6)?(eb)?/arm/:C/aarch64/arm64/:C/powerpc64/powerpc/:C/riscv64/riscv/}
+_TARGET= ${TARGET_ARCH:${MACHINE_CPUARCH_SUB:ts:}}
.endif
.if defined(TARGET) && !defined(_TARGET)
_TARGET=${TARGET}