summaryrefslogtreecommitdiffstats
path: root/newlib/configure.host
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2015-09-04 13:17:53 -0400
committerJeff Johnston <jjohnstn@redhat.com>2015-09-04 14:37:37 -0400
commit948b5f00435ff00e8873ea1326271d0069e41301 (patch)
tree667d4b7826ecb1a70ec4461dbc7316a1e487d898 /newlib/configure.host
parentdc09f27aaa27e1b72c2fcec3b7d6b1e29cab1d28 (diff)
downloadcygnal-948b5f00435ff00e8873ea1326271d0069e41301.tar.gz
cygnal-948b5f00435ff00e8873ea1326271d0069e41301.tar.bz2
cygnal-948b5f00435ff00e8873ea1326271d0069e41301.zip
Add support for ft32 to newlib.
Diffstat (limited to 'newlib/configure.host')
-rw-r--r--newlib/configure.host15
1 files changed, 15 insertions, 0 deletions
diff --git a/newlib/configure.host b/newlib/configure.host
index dac461b73..1315d0972 100644
--- a/newlib/configure.host
+++ b/newlib/configure.host
@@ -141,6 +141,15 @@ case "${host_cpu}" in
frv)
machine_dir=frv
;;
+ ft32*)
+ machine_dir=ft32
+ target_optspace=yes
+ # newlib_io_float=no
+ default_newlib_io_long_long="yes"
+ newlib_cflags="-DPREFER_SIZE_OVER_SPEED -Os"
+ CFLAGS="-Os"
+ CCASFLAGS="-Os"
+ ;;
h8300)
machine_dir=h8300
;;
@@ -426,6 +435,9 @@ case "${host}" in
frv*)
sys_dir=
;;
+ ft32*)
+ sys_dir=
+ ;;
h8300-*-hms*)
sys_dir=h8300hms
;;
@@ -671,6 +683,9 @@ case "${host}" in
syscall_dir=syscalls
default_newlib_io_long_long="yes"
;;
+ ft32*-*-*)
+ syscall_dir=syscalls
+ ;;
h8300*-*-*)
syscall_dir=syscalls
default_newlib_io_long_long="yes"