change log for rtems (2011-02-25)

rtems-vc at rtems.org rtems-vc at rtems.org
Fri Feb 25 06:10:28 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.2747  cpukit/ChangeLog
M   1.12  cpukit/aclocal/canonical-target-name.m4

diff -u rtems/cpukit/ChangeLog:1.2746 rtems/cpukit/ChangeLog:1.2747
--- rtems/cpukit/ChangeLog:1.2746	Thu Feb 24 21:58:32 2011
+++ rtems/cpukit/ChangeLog	Fri Feb 25 00:08:54 2011
@@ -1,5 +1,12 @@
 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-25	Ralf Corsépius <ralf.corsepius at rtems.org>
+
 	* aclocal/check-networking.m4, aclocal/check-posix.m4:
 	Rebase check on "$host".
 

diff -u rtems/cpukit/aclocal/canonical-target-name.m4:1.11 rtems/cpukit/aclocal/canonical-target-name.m4:1.12
--- rtems/cpukit/aclocal/canonical-target-name.m4:1.11	Wed Oct 14 07:25:59 2009
+++ rtems/cpukit/aclocal/canonical-target-name.m4	Fri Feb 25 00:08:55 2011
@@ -12,13 +12,16 @@
 [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/a16ee785/attachment.html>


More information about the vc mailing list