diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-10-26 22:11:10 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-10-26 22:11:10 (GMT) |
commit | c916a69abf35495e4ad0bd2d4d35cb987bf1783a (patch) | |
tree | d2bc29bc6796fe6532d5765779dd73d4ba8eb2cc /scripts | |
parent | d2324af8c753a0d16d4e687f26965d286659a8f8 (diff) |
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.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/build/arch/arm.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/build/arch/arm.sh b/scripts/build/arch/arm.sh index 961253f..e049696 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 } |