Changeset 5f7d7640 in rtems


Ignore:
Timestamp:
Oct 22, 2003, 10:54:05 AM (18 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
c44312d
Parents:
6a8a114
Message:

2003-10-22 Ralf Corsepius <corsepiu@…>

  • aclocal/canonical-host.m4: Remove.
  • aclocal/canonical-target-name.m4: Merge-in aclocal/canonical-host.m4.
Files:
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/tests/ChangeLog

    r6a8a114 r5f7d7640  
     12003-10-22      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * aclocal/canonical-host.m4: Remove.
     4        * aclocal/canonical-target-name.m4: Merge-in aclocal/canonical-host.m4.
     5
    162003-10-22      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • c/src/tests/aclocal/canonical-target-name.m4

    r6a8a114 r5f7d7640  
    1111AC_DEFUN(RTEMS_CANONICAL_TARGET_CPU,
    1212[
    13 AC_CANONICAL_TARGET
     13AC_CANONICAL_HOST
    1414AC_MSG_CHECKING(rtems target cpu)
    15 case "${target}" in
     15case "${host}" in
    1616  # hpux unix port should go here
    1717  i[[34567]]86-*linux*)         # unix "simulator" port
    1818        RTEMS_CPU=unix
     19        RTEMS_HOST=Linux
    1920        ;;
    2021  i[[34567]]86-*freebsd*)       # unix "simulator" port
    2122        RTEMS_CPU=unix
     23        RTEMS_HOST=FreeBSD
    2224        ;;
    2325  i[[34567]]86-pc-cygwin*)      # Cygwin is just enough unix like :)
    2426        RTEMS_CPU=unix
     27        RTEMS_HOST=Cygwin
    2528        ;;
    2629  no_cpu-*rtems*)
    2730        RTEMS_CPU=no_cpu
     31        RTEMS_HOST=$host_os
    2832        ;;
    2933  sparc-sun-solaris*)           # unix "simulator" port
    3034        RTEMS_CPU=unix
     35        RTEMS_HOST=Solaris
    3136        ;;
    3237  tic4x-*rtems*)                # gcc changed the name
    3338        RTEMS_CPU=c4x
     39        RTEMS_HOST=$host_os
    3440        ;;
    3541  *)
    36         RTEMS_CPU=`echo $target | sed 's%^\([[^-]]*\)-\(.*\)$%\1%'`
     42        RTEMS_CPU=`echo $host | sed 's%^\([[^-]]*\)-\(.*\)$%\1%'`
     43        RTEMS_HOST=$host_os
    3744        ;;
    3845esac
    3946AC_SUBST(RTEMS_CPU)
     47AC_SUBST(RTEMS_HOST)
    4048AC_MSG_RESULT($RTEMS_CPU)
    4149])
  • testsuites/ChangeLog

    r6a8a114 r5f7d7640  
     12003-10-22      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * aclocal/canonical-host.m4: Remove.
     4        * aclocal/canonical-target-name.m4: Merge-in aclocal/canonical-host.m4.
     5
    162003-10-22      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • testsuites/aclocal/canonical-target-name.m4

    r6a8a114 r5f7d7640  
    1111AC_DEFUN(RTEMS_CANONICAL_TARGET_CPU,
    1212[
    13 AC_CANONICAL_TARGET
     13AC_CANONICAL_HOST
    1414AC_MSG_CHECKING(rtems target cpu)
    15 case "${target}" in
     15case "${host}" in
    1616  # hpux unix port should go here
    1717  i[[34567]]86-*linux*)         # unix "simulator" port
    1818        RTEMS_CPU=unix
     19        RTEMS_HOST=Linux
    1920        ;;
    2021  i[[34567]]86-*freebsd*)       # unix "simulator" port
    2122        RTEMS_CPU=unix
     23        RTEMS_HOST=FreeBSD
    2224        ;;
    2325  i[[34567]]86-pc-cygwin*)      # Cygwin is just enough unix like :)
    2426        RTEMS_CPU=unix
     27        RTEMS_HOST=Cygwin
    2528        ;;
    2629  no_cpu-*rtems*)
    2730        RTEMS_CPU=no_cpu
     31        RTEMS_HOST=$host_os
    2832        ;;
    2933  sparc-sun-solaris*)           # unix "simulator" port
    3034        RTEMS_CPU=unix
     35        RTEMS_HOST=Solaris
    3136        ;;
    3237  tic4x-*rtems*)                # gcc changed the name
    3338        RTEMS_CPU=c4x
     39        RTEMS_HOST=$host_os
    3440        ;;
    3541  *)
    36         RTEMS_CPU=`echo $target | sed 's%^\([[^-]]*\)-\(.*\)$%\1%'`
     42        RTEMS_CPU=`echo $host | sed 's%^\([[^-]]*\)-\(.*\)$%\1%'`
     43        RTEMS_HOST=$host_os
    3744        ;;
    3845esac
    3946AC_SUBST(RTEMS_CPU)
     47AC_SUBST(RTEMS_HOST)
    4048AC_MSG_RESULT($RTEMS_CPU)
    4149])
Note: See TracChangeset for help on using the changeset viewer.