aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/Makefile.arm
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2013-01-23 07:27:38 +0000
committerAndrew Turner <andrew@FreeBSD.org>2013-01-23 07:27:38 +0000
commit8f197f151cd357cf802bee6ab19fc24ac8d15fcc (patch)
treebe992e46b3480c13fecb51b7d771feedd4c9ccbd /sys/conf/Makefile.arm
parent44728051fda936b28e4cc29c6458954b4e3bb1e0 (diff)
downloadsrc-8f197f151cd357cf802bee6ab19fc24ac8d15fcc.tar.gz
src-8f197f151cd357cf802bee6ab19fc24ac8d15fcc.zip
Don't build the kernel with Thumb interworking as we don't support Thumb.
Notes
Notes: svn path=/head/; revision=245838
Diffstat (limited to 'sys/conf/Makefile.arm')
-rw-r--r--sys/conf/Makefile.arm2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/conf/Makefile.arm b/sys/conf/Makefile.arm
index 7ccb9a79b493..63b451d6c91d 100644
--- a/sys/conf/Makefile.arm
+++ b/sys/conf/Makefile.arm
@@ -39,6 +39,8 @@ SYSTEM_DEP:= ${SYSTEM_DEP:$S/conf/ldscript.$M=ldscript.$M}
STRIP_FLAGS = -S
.endif
+CFLAGS += -mno-thumb-interwork
+
.if empty(DDB_ENABLED)
CFLAGS += -mno-apcs-frame
.elif defined(WITH_ARM_EABI)