diff options
author | Anthony Green <green@moxielogic.com> | 2014-07-27 18:37:10 +0400 |
---|---|---|
committer | Anthony Green <green@moxielogic.com> | 2014-07-27 18:37:10 +0400 |
commit | 0a0f33e50135e3e106e9e81152a41aa99268970d (patch) | |
tree | 9190c63e68fcaef11b470dc2bb8073640f8317e6 /newlib/configure.host | |
parent | c999d29a7b7031fbc827dca740650745d6da0488 (diff) |
Add moxiebox support.
Diffstat (limited to 'newlib/configure.host')
-rw-r--r-- | newlib/configure.host | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/newlib/configure.host b/newlib/configure.host index 39eb0fb2b..447f1c188 100644 --- a/newlib/configure.host +++ b/newlib/configure.host @@ -176,7 +176,7 @@ case "${host_cpu}" in machine_dir=lm32 ;; m32c) - machine_dir=m32c + machine_dir=m32c newlib_cflags="${newlib_cflags} -DPREFER_SIZE_OVER_SPEED -DSMALL_MEMORY" ;; @@ -731,10 +731,15 @@ case "${host}" in mn10?00-*-*) syscall_dir=syscalls ;; - moxie-*-*) + moxie-*-elf* | moxie-*-rtems*) syscall_dir=syscalls default_newlib_io_long_long="yes" ;; + moxie-*-moxiebox) + syscall_dir=syscalls + default_newlib_io_long_long="yes" + newlib_cflags="${newlib_cflags} -Os -DPREFER_SIZE_OVER_SPEED -DSMALL_MEMORY" + ;; nios2*) syscall_dir= newlib_cflags="${newlib_cflags} -DHAVE_RENAME -DHAVE_SYSTEM -DMISSING_SYSCALL_NAMES" |