change log for rtems (2011-02-25)

rtems-vc at rtems.org rtems-vc at rtems.org
Fri Feb 25 07:10:31 UTC 2011


 *ralf*:
2011-02-25	Ralf Corsépius <ralf.corsepius at rtems.org>

	* aclocal/canonical-target-name.m4:
	Stop pretending no_cpu* was buildable.
	Derive RTEMS_CPU from "$host_cpu".
	Error out if "$host" doesn't match "*-*-rtems*".

M  1.544  c/src/ChangeLog
M    1.8  c/src/aclocal/canonical-target-name.m4
M  1.179  testsuites/ChangeLog
M    1.7  testsuites/aclocal/canonical-target-name.m4

diff -u rtems/c/src/ChangeLog:1.543 rtems/c/src/ChangeLog:1.544
--- rtems/c/src/ChangeLog:1.543	Tue Feb 22 10:16:43 2011
+++ rtems/c/src/ChangeLog	Fri Feb 25 00:13:14 2011
@@ -1,3 +1,10 @@
+2011-02-25	Ralf Corsépius <ralf.corsepius at rtems.org>
+
+	* aclocal/canonical-target-name.m4:
+	Stop pretending no_cpu* was buildable.
+	Derive RTEMS_CPU from "$host_cpu".
+	Error out if "$host" doesn't match "*-*-rtems*".
+
 2011-02-22	Ralf Corsépius <ralf.corsepius at rtems.org>
 
 	* configure.ac: Remove AM_CONDITIONAL(HAS_POSIX) (Unused).

diff -u rtems/c/src/aclocal/canonical-target-name.m4:1.7 rtems/c/src/aclocal/canonical-target-name.m4:1.8
--- rtems/c/src/aclocal/canonical-target-name.m4:1.7	Thu Oct 15 21:43:38 2009
+++ rtems/c/src/aclocal/canonical-target-name.m4	Fri Feb 25 00:13:14 2011
@@ -9,17 +9,19 @@
 dnl and we have to fix it for rtems ourselves 
 
 AC_DEFUN([RTEMS_CANONICAL_TARGET_CPU],
-[
-AC_CANONICAL_HOST
+[AC_REQUIRE([AC_CANONICAL_HOST])
 AC_MSG_CHECKING(rtems target cpu)
 case "${host}" in
-  no_cpu-*rtems*)
-        RTEMS_CPU=no_cpu
-	;;
-  *) 
-	RTEMS_CPU=`echo $host | sed 's%^\([[^-]]*\)-\(.*\)$%\1%'`
+*-*-rtems*)
+	RTEMS_CPU="$host_cpu";;
+*)
 	;;
 esac
+AS_IF([test -n "$RTEMS_CPU"],
+[dnl
+AC_MSG_RESULT($RTEMS_CPU)],
+[dnl
+AC_MSG_RESULT([<none>])
+AC_MSG_ERROR([unsupported host $host])])
 AC_SUBST(RTEMS_CPU)
-AC_MSG_RESULT($RTEMS_CPU)
 ])

diff -u rtems/testsuites/ChangeLog:1.178 rtems/testsuites/ChangeLog:1.179
--- rtems/testsuites/ChangeLog:1.178	Tue Feb 22 08:41:17 2011
+++ rtems/testsuites/ChangeLog	Fri Feb 25 00:17:36 2011
@@ -1,3 +1,10 @@
+2011-02-25	Ralf Corsépius <ralf.corsepius at rtems.org>
+
+	* aclocal/canonical-target-name.m4:
+	Stop pretending no_cpu* was buildable.
+	Derive RTEMS_CPU from "$host_cpu".
+	Error out if "$host" doesn't match "*-*-rtems*".
+
 2011-02-22	Ralf Corsépius <ralf.corsepius at rtems.org>
 
 	* support/src/tmtests_support.c: 

diff -u rtems/testsuites/aclocal/canonical-target-name.m4:1.6 rtems/testsuites/aclocal/canonical-target-name.m4:1.7
--- rtems/testsuites/aclocal/canonical-target-name.m4:1.6	Thu Oct 15 21:42:44 2009
+++ rtems/testsuites/aclocal/canonical-target-name.m4	Fri Feb 25 00:17:36 2011
@@ -9,17 +9,19 @@
 dnl and we have to fix it for rtems ourselves 
 
 AC_DEFUN([RTEMS_CANONICAL_TARGET_CPU],
-[
-AC_CANONICAL_HOST
+[AC_REQUIRE([AC_CANONICAL_HOST])
 AC_MSG_CHECKING(rtems target cpu)
 case "${host}" in
-  no_cpu-*rtems*)
-        RTEMS_CPU=no_cpu
-	;;
-  *) 
-	RTEMS_CPU=`echo $host | sed 's%^\([[^-]]*\)-\(.*\)$%\1%'`
+*-*-rtems*)
+	RTEMS_CPU="$host_cpu";;
+*)
 	;;
 esac
+AS_IF([test -n "$RTEMS_CPU"],
+[dnl
+AC_MSG_RESULT($RTEMS_CPU)],
+[dnl
+AC_MSG_RESULT([<none>])
+AC_MSG_ERROR([unsupported host $host])])
 AC_SUBST(RTEMS_CPU)
-AC_MSG_RESULT($RTEMS_CPU)
 ])



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20110225/c59702fe/attachment-0001.html>


More information about the vc mailing list