mirror of
https://github.com/t-crest/rtems.git
synced 2025-11-16 12:34:47 +00:00
Remove posix/unix simulator.
This commit is contained in:
@@ -13,21 +13,9 @@ AC_DEFUN([RTEMS_CANONICAL_TARGET_CPU],
|
|||||||
AC_CANONICAL_TARGET
|
AC_CANONICAL_TARGET
|
||||||
AC_MSG_CHECKING(rtems target cpu)
|
AC_MSG_CHECKING(rtems target cpu)
|
||||||
case "${target}" in
|
case "${target}" in
|
||||||
i[[34567]]86-*linux*) # unix "simulator" port
|
|
||||||
RTEMS_CPU=unix
|
|
||||||
;;
|
|
||||||
i[[34567]]86-*freebsd*) # unix "simulator" port
|
|
||||||
RTEMS_CPU=unix
|
|
||||||
;;
|
|
||||||
i[[34567]]86-pc-cygwin*) # Cygwin is just enough unix like :)
|
|
||||||
RTEMS_CPU=unix
|
|
||||||
;;
|
|
||||||
no_cpu-*rtems*)
|
no_cpu-*rtems*)
|
||||||
RTEMS_CPU=no_cpu
|
RTEMS_CPU=no_cpu
|
||||||
;;
|
;;
|
||||||
sparc-sun-solaris*) # unix "simulator" port
|
|
||||||
RTEMS_CPU=unix
|
|
||||||
;;
|
|
||||||
*)
|
*)
|
||||||
RTEMS_CPU=`echo $target | sed 's%^\([[^-]]*\)-\(.*\)$%\1%'`
|
RTEMS_CPU=`echo $target | sed 's%^\([[^-]]*\)-\(.*\)$%\1%'`
|
||||||
;;
|
;;
|
||||||
|
|||||||
@@ -13,19 +13,9 @@ AC_ARG_ENABLE(posix,
|
|||||||
esac],[RTEMS_HAS_POSIX_API=yes])
|
esac],[RTEMS_HAS_POSIX_API=yes])
|
||||||
|
|
||||||
case "${host}" in
|
case "${host}" in
|
||||||
# hpux unix port should go here
|
|
||||||
i[[34567]]86-pc-linux*) # unix "simulator" port
|
|
||||||
RTEMS_HAS_POSIX_API=no
|
|
||||||
;;
|
|
||||||
i[[34567]]86-*freebsd*) # unix "simulator" port
|
|
||||||
RTEMS_HAS_POSIX_API=no
|
|
||||||
;;
|
|
||||||
no_cpu-*rtems*)
|
no_cpu-*rtems*)
|
||||||
RTEMS_HAS_POSIX_API=no
|
RTEMS_HAS_POSIX_API=no
|
||||||
;;
|
;;
|
||||||
sparc-sun-solaris*) # unix "simulator" port
|
|
||||||
RTEMS_HAS_POSIX_API=no
|
|
||||||
;;
|
|
||||||
*)
|
*)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
@@ -13,27 +13,10 @@ AC_DEFUN([RTEMS_CANONICAL_TARGET_CPU],
|
|||||||
AC_CANONICAL_HOST
|
AC_CANONICAL_HOST
|
||||||
AC_MSG_CHECKING(rtems target cpu)
|
AC_MSG_CHECKING(rtems target cpu)
|
||||||
case "${host}" in
|
case "${host}" in
|
||||||
# hpux unix port should go here
|
|
||||||
i[[34567]]86-*linux*) # unix "simulator" port
|
|
||||||
RTEMS_CPU=unix
|
|
||||||
RTEMS_HOST=Linux
|
|
||||||
;;
|
|
||||||
i[[34567]]86-*freebsd*) # unix "simulator" port
|
|
||||||
RTEMS_CPU=unix
|
|
||||||
RTEMS_HOST=FreeBSD
|
|
||||||
;;
|
|
||||||
i[[34567]]86-pc-cygwin*) # Cygwin is just enough unix like :)
|
|
||||||
RTEMS_CPU=unix
|
|
||||||
RTEMS_HOST=Cygwin
|
|
||||||
;;
|
|
||||||
no_cpu-*rtems*)
|
no_cpu-*rtems*)
|
||||||
RTEMS_CPU=no_cpu
|
RTEMS_CPU=no_cpu
|
||||||
RTEMS_HOST=$host_os
|
RTEMS_HOST=$host_os
|
||||||
;;
|
;;
|
||||||
sparc-sun-solaris*) # unix "simulator" port
|
|
||||||
RTEMS_CPU=unix
|
|
||||||
RTEMS_HOST=Solaris
|
|
||||||
;;
|
|
||||||
*)
|
*)
|
||||||
RTEMS_CPU=`echo $host | sed 's%^\([[^-]]*\)-\(.*\)$%\1%'`
|
RTEMS_CPU=`echo $host | sed 's%^\([[^-]]*\)-\(.*\)$%\1%'`
|
||||||
RTEMS_HOST=$host_os
|
RTEMS_HOST=$host_os
|
||||||
|
|||||||
Reference in New Issue
Block a user