Add port for Phoenix-RTOS in common configure files.

This commit is contained in:
Jeff Johnston 2016-05-09 15:23:58 -04:00
parent 36e32df9f8
commit 93f5d7c739
4 changed files with 40 additions and 0 deletions

View File

@ -1023,3 +1023,29 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
(45) Phoenix Systems - Phoenix-RTOS targets
Copyright (c) 2016 Phoenix Systems
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.

View File

@ -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

View File

@ -797,6 +797,7 @@ m88kbug
mmixware
netware
or1k
phoenix
rdos
rtems
sh
@ -11827,6 +11828,8 @@ subdirs="$subdirs a29khif"
netware) subdirs="$subdirs netware"
;;
or1k) subdirs="$subdirs or1k"
;;
phoenix) subdirs="$subdirs phoenix"
;;
rdos) subdirs="$subdirs rdos"
;;

View File

@ -34,6 +34,7 @@ if test -n "${sys_dir}"; then
mmixware) AC_CONFIG_SUBDIRS(mmixware) ;;
netware) AC_CONFIG_SUBDIRS(netware) ;;
or1k) AC_CONFIG_SUBDIRS(or1k) ;;
phoenix) AC_CONFIG_SUBDIRS(phoenix) ;;
rdos) AC_CONFIG_SUBDIRS(rdos) ;;
rtems) AC_CONFIG_SUBDIRS(rtems) ;;
sh) AC_CONFIG_SUBDIRS(sh) ;;