Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2016-05-09 22:23:58 +0300
committerJeff Johnston <jjohnstn@redhat.com>2016-05-09 22:23:58 +0300
commit93f5d7c739c8e16a58c955149c0787513c5136ab (patch)
tree005d081cd7a8236fb0a673b788aea7005ff7f559 /newlib/configure.host
parent36e32df9f8cf993c084199ddb20a8af41d3ff4b5 (diff)
Add port for Phoenix-RTOS in common configure files.
Diffstat (limited to 'newlib/configure.host')
-rw-r--r--newlib/configure.host10
1 files changed, 10 insertions, 0 deletions
diff --git a/newlib/configure.host b/newlib/configure.host
index bb163ecc3..d47120089 100644
--- a/newlib/configure.host
+++ b/newlib/configure.host
@@ -385,6 +385,11 @@ case "${host}" in
signal_dir=
sys_dir=netware
;;
+ *-*-phoenix*)
+ sys_dir=phoenix
+ posix_dir=posix
+ unix_dir=unix
+ ;;
*-*-rtems*) # generic RTEMS support
sys_dir=rtems
posix_dir=posix
@@ -578,6 +583,11 @@ case "${host}" in
newlib_cflags="${newlib_cflags} -DHAVE_OPENDIR -DHAVE_RENAME -DSIGNAL_PROVIDED -D_COMPILING_NEWLIB -DHAVE_BLKSIZE -DHAVE_FCNTL -DMALLOC_PROVIDED"
syscall_dir=syscalls
;;
+ *-*-phoenix*)
+ newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES -D_COMPILING_NEWLIB -DHAVE_BLKSIZE -DHAVE_NANOSLEEP"
+ default_newlib_io_long_long="yes"
+ syscall_dir=
+ ;;
# RTEMS supplies its own versions of some routines:
# malloc() (reentrant version)
# exit() RTEMS has a "global" reent to flush