From c916a69abf35495e4ad0bd2d4d35cb987bf1783a Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Mon, 26 Oct 2009 23:11:10 +0100 Subject: arch/arm: add THUMB interworking support Add config option to build wtarget code with THUMB interworking. This is used to build the C library as well as all other code that runs on the target. --- scripts/build/arch/arm.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/build/arch/arm.sh') diff --git a/scripts/build/arch/arm.sh b/scripts/build/arch/arm.sh index 961253f6..e049696f 100644 --- a/scripts/build/arch/arm.sh +++ b/scripts/build/arch/arm.sh @@ -20,4 +20,8 @@ CT_DoArchTupleValues() { # CT_ARCH_TARGET_CFLAGS="-mthumb" ;; esac + + if [ "${CT_ARCH_ARM_INTERWORKING}" = "y" ]; then + CT_ARCH_TARGET_CFLAGS+=" -mthumb-interwork" + fi } -- cgit v1.2.3