diff options
author | Andrew Turner <andrew@FreeBSD.org> | 2020-01-02 11:02:09 +0000 |
---|---|---|
committer | Andrew Turner <andrew@FreeBSD.org> | 2020-01-02 11:02:09 +0000 |
commit | d0d8c0977cfe442f999a3f8a1d5740491000d1e9 (patch) | |
tree | 9179063dd6a90bac8d3a9ebde61bbec630e85a6f /Makefile | |
parent | 5fcb2832e34cb651b979746e4aff42a43b9a3201 (diff) |
Add the missing trailing '/' when setting TARGET_ARCH from TARGET
This should fix the build when setting TARGET but not TARGET_ARCH.
Sponsored by: DARPA, AFRL
Notes
Notes:
svn path=/head/; revision=356269
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -276,7 +276,7 @@ MK_META_MODE= no # exceptions. .if !defined(TARGET_ARCH) && defined(TARGET) # T->TA mapping is usually TARGET with arm64 the odd man out -_TARGET_ARCH= ${TARGET:S/arm64/aarch64/:S/riscv/riscv64/:S/arm/armv7} +_TARGET_ARCH= ${TARGET:S/arm64/aarch64/:S/riscv/riscv64/:S/arm/armv7/} .elif !defined(TARGET) && defined(TARGET_ARCH) && \ ${TARGET_ARCH} != ${MACHINE_ARCH} # TA->T mapping is accidentally CPUARCH with aarch64 the odd man out |