aboutsummaryrefslogtreecommitdiff
path: root/release/Makefile.mirrors
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2017-10-05 23:01:33 +0000
committerWarner Losh <imp@FreeBSD.org>2017-10-05 23:01:33 +0000
commit0b972ac92efa281a92d2c774008c23e38373b413 (patch)
tree51bbbca0ac650b8a0f5465e9c5861a9d9eb9db99 /release/Makefile.mirrors
parentb1bad39103f190d5fb8bc8f41f38f43e7787519a (diff)
downloadsrc-0b972ac92efa281a92d2c774008c23e38373b413.tar.gz
src-0b972ac92efa281a92d2c774008c23e38373b413.zip
Support armv7 builds for userland
Make armv7 as a new MACHINE_ARCH. Copy all the places we do armv6 and add armv7 as basically an alias. clang appears to generate code for armv7 by default. armv7 hard float isn't supported by the the in-tree gcc, so it hasn't been updated to have a new default. Support armv7 as a new valid MACHINE_ARCH (and by extension TARGET_ARCH). Add armv7 to the universe build. Differential Revision: https://reviews.freebsd.org/D12010
Notes
Notes: svn path=/head/; revision=324340
Diffstat (limited to 'release/Makefile.mirrors')
-rw-r--r--release/Makefile.mirrors2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/Makefile.mirrors b/release/Makefile.mirrors
index 0d3dd106999e..390aebfdb6c4 100644
--- a/release/Makefile.mirrors
+++ b/release/Makefile.mirrors
@@ -57,7 +57,7 @@ TLD?= ${FTPDIR}/releases
.endif
.if defined(EMBEDDED) && !empty(EMBEDDED)
-. if ${TARGET:Marm*} != "" && (${TARGET_ARCH} == "armv6" || ${TARGET_ARCH} == "aarch64")
+. if ${TARGET:Marm*} != "" && (${TARGET_ARCH:Marmv[67]} != "" || ${TARGET_ARCH} == "aarch64")
. if !defined(BOARDNAME) && empty(BOARDNAME)
BOARDNAME:= ${KERNCONF}
. else