aboutsummaryrefslogtreecommitdiff
path: root/sys/conf
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2014-10-06 09:52:28 +0000
committerAndrew Turner <andrew@FreeBSD.org>2014-10-06 09:52:28 +0000
commit9677c48e30c340e7dcb83bf34e11a3b0d23d2753 (patch)
tree801f20b7b9bb169b4e1797fd66c8752edf3e8f9a /sys/conf
parent7f29c69aee963aedf5db477201e5c7e3356b2b64 (diff)
downloadsrc-9677c48e30c340e7dcb83bf34e11a3b0d23d2753.tar.gz
src-9677c48e30c340e7dcb83bf34e11a3b0d23d2753.zip
Disable generating vfp and NEON instructions in the arm kernel.
Notes
Notes: svn path=/head/; revision=272605
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/Makefile.arm3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/conf/Makefile.arm b/sys/conf/Makefile.arm
index 08e70f30a502..2727f815ebd9 100644
--- a/sys/conf/Makefile.arm
+++ b/sys/conf/Makefile.arm
@@ -42,6 +42,9 @@ STRIP_FLAGS = -S
# We don't support gcc's thump interwork stuff, so disable it
CFLAGS.gcc += -mno-thumb-interwork
+# We generally don't want fpu instructions in the kernel.
+CFLAGS.clang += -mfpu=none
+
.if !empty(DDB_ENABLED)
CFLAGS += -funwind-tables
# clang requires us to tell it to emit assembly with unwind information