aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/kern.opts.mk
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 /sys/conf/kern.opts.mk
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 'sys/conf/kern.opts.mk')
-rw-r--r--sys/conf/kern.opts.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/kern.opts.mk b/sys/conf/kern.opts.mk
index 72420eebac19..ba271be28865 100644
--- a/sys/conf/kern.opts.mk
+++ b/sys/conf/kern.opts.mk
@@ -62,7 +62,7 @@ __DEFAULT_NO_OPTIONS = \
# Things that don't work based on the CPU
.if ${MACHINE_CPUARCH} == "arm"
-. if ${MACHINE_ARCH:Marmv6*} == ""
+. if ${MACHINE_ARCH:Marmv[67]*} == ""
BROKEN_OPTIONS+= CDDL ZFS
. endif
.endif