path: root/Makefile
diff options
authorWarner Losh <imp@FreeBSD.org>2020-01-02 03:25:26 +0000
committerWarner Losh <imp@FreeBSD.org>2020-01-02 03:25:26 +0000
commiteb4977bd0fb2765fd3a03f1f498eac1892e8f401 (patch)
treec15b35a73d2a53fa5d9ad2eca67c03d91c730fa3 /Makefile
parente8cdbb4815a458cf599de91ce0d161796c8fc2aa (diff)
Remove arm/arm as a valid target.
TARGET=arm now defaults to TARGET_ARCH=armv7 TARGET_ARCH=arm is no longer valid. Bump __FreeBSD_version to 1300073 Tested with make universe. Any stale LINT-V5 config files remaining in the tree will fail the universe build. However, LINT-V5 was removed in r355119. This retirement has been planned since last summer. The armv5 port is fragile: it works OK for some peeople, and fails badly for others. There's a number of subtle bugs in busdma, pmap and other MD parts of thee system that present themselves under load or in unusual circumstances (like fsck after a crash). stable/8, branched 10 years ago, was the last reliable release. Since the support burden is larger then the benefit, the consensus view is armv5 should be removed from the tree. Discussed with: arm@ mailing list and arm developer community.
Notes: svn path=/head/; revision=356263
Diffstat (limited to 'Makefile')
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 117ad2d785f0..840e3c5ce45a 100644
--- a/Makefile
+++ b/Makefile
@@ -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/}
+_TARGET_ARCH= ${TARGET:S/arm64/aarch64/:S/riscv/riscv64/:S/arm/armv7}
.elif !defined(TARGET) && defined(TARGET_ARCH) && \
# TA->T mapping is accidentally CPUARCH with aarch64 the odd man out
@@ -496,7 +496,6 @@ _OBSOLETE_GCC_TARGETS+=powerpc
TARGETS?=amd64 arm arm64 i386 riscv ${_OBSOLETE_GCC_TARGETS}
-# arm (armv5) excluded due to broken buildworld
TARGET_ARCHES_arm?= armv6 armv7
TARGET_ARCHES_arm64?= aarch64
TARGET_ARCHES_mips?= mipsel mips mips64el mips64 mipsn32 mipselhf mipshf mips64elhf mips64hf