diff options
Diffstat (limited to 'newlib/configure.host')
-rw-r--r-- | newlib/configure.host | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/newlib/configure.host b/newlib/configure.host index 8e8d719..6339e84 100644 --- a/newlib/configure.host +++ b/newlib/configure.host @@ -93,6 +93,9 @@ case "${host_cpu}" in avr*) newlib_cflags="${newlib_cflags} -DPREFER_SIZE_OVER_SPEED -mcall-prologues" ;; + cris | crisv32) + machine_dir=cris + ;; crx*) machine_dir=crx ;; @@ -502,6 +505,10 @@ case "${host}" in avr*) newlib_cflags="${newlib_cflags} -DNO_EXEC -DSMALL_MEMORY -DMISSING_SYSCALL_NAMES" ;; + cris-*-* | crisv32-*-*) + newlib_cflags="${newlib_cflags} -DHAVE_RENAME -DHAVE_GETTIMEOFDAY -D_USE_WRITE" + syscall_dir=syscalls + ;; crx-*-*) newlib_cflags="${newlib_cflags} -DHAVE_RENAME -DMISSING_SYSCALL_NAMES" syscall_dir= |