summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/tools/generic/aclocal.m4
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-06-16 14:55:28 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-06-16 14:55:28 +0000
commit8c92fa385a8be3c76411b539dd0cb26eadaf16d9 (patch)
treeeb5fb1b895f0d82ad6aacfa1e3128e10119e23a2 /c/src/exec/score/tools/generic/aclocal.m4
parentRegenerated (diff)
downloadrtems-8c92fa385a8be3c76411b539dd0cb26eadaf16d9.tar.bz2
Patcg from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
-- configure now fails to detect the toolchain for linux-posix. As work-around, I have reverted to the old behavior of RTEMS_TARGET_CPU_NAME, thus no_cpu/no_bsp will fail badly in configure again.
Diffstat (limited to 'c/src/exec/score/tools/generic/aclocal.m4')
-rw-r--r--c/src/exec/score/tools/generic/aclocal.m49
1 files changed, 2 insertions, 7 deletions
diff --git a/c/src/exec/score/tools/generic/aclocal.m4 b/c/src/exec/score/tools/generic/aclocal.m4
index 106b026a83..a732cffc8a 100644
--- a/c/src/exec/score/tools/generic/aclocal.m4
+++ b/c/src/exec/score/tools/generic/aclocal.m4
@@ -63,15 +63,10 @@ dnl and we have to fix it for rtems ourselves
AC_DEFUN(RTEMS_CANONICAL_TARGET_CPU,
[
-rtems_target=$target;
-case "$target" in
-no_cpu*) target=$host;;
-*) ;;
-esac
AC_CANONICAL_SYSTEM
AC_MSG_CHECKING(rtems target cpu)
changequote(,)dnl
-case "${rtems_target}" in
+case "${target}" in
# hpux unix port should go here
i[3456]86-go32-rtems*)
RTEMS_CPU=i386
@@ -89,7 +84,7 @@ case "${rtems_target}" in
RTEMS_CPU=unix
;;
*)
- RTEMS_CPU=`echo $rtems_target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
+ RTEMS_CPU=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
;;
esac
changequote([,])dnl