aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--share/mk/sys.machine.mk2
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 699f003bf7df..36aa23db1f53 100644
--- a/Makefile
+++ b/Makefile
@@ -536,6 +536,9 @@ worlds: .PHONY
# Don't build rarely used, semi-supported architectures unless requested.
#
.if defined(EXTRA_TARGETS)
+# armv6's importance has waned enough to make building it the exception rather
+# than the rule.
+EXTRA_ARCHES_arm= armv6
# powerpcspe excluded from main list until clang fixed
EXTRA_ARCHES_powerpc= powerpcspe
.endif
diff --git a/share/mk/sys.machine.mk b/share/mk/sys.machine.mk
index 445aaa4b62fd..716dd17d5cce 100644
--- a/share/mk/sys.machine.mk
+++ b/share/mk/sys.machine.mk
@@ -6,7 +6,7 @@ TARGET_MACHINE_LIST?= amd64 arm arm64 i386 powerpc riscv
MACHINE_ARCH_host?= ${_HOST_ARCH}
-MACHINE_ARCH_LIST_arm?= armv6 armv7
+MACHINE_ARCH_LIST_arm?= armv7 ${EXTRA_ARCHES_arm}
MACHINE_ARCH_LIST_arm64?= aarch64
MACHINE_ARCH_LIST_powerpc?= powerpc powerpc64 powerpc64le ${EXTRA_ARCHES_powerpc}
MACHINE_ARCH_LIST_riscv?= riscv64