<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for gcc-testing (2010-05-04)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-05-04 Joel Sherrill <joel.sherrill@oarcorp.com>

        * bit_all_bsps: New file.
        * bit_all: Removed.
        File names are now unique considering case.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//gcc-testing/rtems/ChangeLog.diff?r1=text&tr1=1.11&r2=text&tr2=1.12&diff_format=h">M</a></td><td width='1%'>1.12</td><td width='100%'>rtems/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//gcc-testing/rtems/bit_all?rev=1.4&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.4</font></td><td width='100%'><font color="#880000">rtems/bit_all</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//gcc-testing/rtems/bit_all_bsps?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">rtems/bit_all_bsps</font></td></tr>
</table>
<pre>
<font color='#006600'>diff -u gcc-testing/rtems/ChangeLog:1.11 gcc-testing/rtems/ChangeLog:1.12
--- gcc-testing/rtems/ChangeLog:1.11    Fri Sep 18 21:56:05 2009
+++ gcc-testing/rtems/ChangeLog Tue May  4 10:12:04 2010
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2010-05-04    Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * bit_all_bsps: New file.
+       * bit_all: Removed.
+       File names are now unique considering case.
+
</font> 2009-09-18        Joel Sherrill <joel.sherrill@oarcorp.com>
 
        * check_endof: Improve to only pay attention to .exe and .ralf files.

<font color='#006600'>diff -u /dev/null gcc-testing/rtems/bit_all_bsps:1.1
--- /dev/null   Tue May  4 11:10:02 2010
+++ gcc-testing/rtems/bit_all_bsps      Tue May  4 10:12:04 2010
</font><font color='#997700'>@@ -0,0 +1,169 @@
</font><font color='#000088'>+#! /bin/sh
+#
+#  Test build all the tool configurations
+#
+#  $Id$
+#
+
+# Include user configurable information
+test -r ./user.cfg || \
+  check_fatal 1 "Cannot find user configuration (user.cfg)"
+. ./user.cfg
+
+#
+#  Set up variables which control the scripts behavior
+verbose=yes
+testing=no
+quit_on_error=yes
+do_barebsps=no
+if [ "x${BSP}" = "x" ]; then
+  BSP=all
+fi
+
+
+#
+#  Now get started
+#
+start=`date`
+
+# Verify that the environment is correct
+if [ ! -d log ] ; then
+  echo No log directory
+  exit 1
+fi
+
+# Determine the list of CPUs to build
+if [ $# -ne 0 ] ; then
+  CPUS=$*
+else
+  # leave out nios2 tic4x
+  CPUS="arm avr bfin h8300 i386 lm32 m32c m32r m68k mips powerpc sh sparc"
+fi
+
+# we collect the ticker executables for users to try out
+rm -rf ticker-executables
+mkdir ticker-executables
+
+# Now cycle through all the CPUs selected
+for CPU in ${CPUS}<span style="background-color: #FF0000"> </span>
+do
+  #
+  #  Try to build RTEMS
+  #
+
+  if [ "x${RTEMS}" != "x" ] ; then
+
+    #
+    #  Calculate the set of BSPs which could be built
+    #
+    #  Pick up the minimum set and then see if we are doing everything.
+    #
+
+    case $CPU in<span style="background-color: #FF0000">   </span>
+      avr)     ALL_BSPS="avrtest" ;;
+      bfin)    ALL_BSPS="eZKit533 bf537Stamp" ;;
+      arm)     ALL_BSPS="csb336 csb337 csb637 edb7312 gba gp32 nds"
+               ALL_BSPS="${ALL_BSPS} rtl22xx rtl22xx_t smdk2410"
+               ALL_BSPS="${ALL_BSPS} lpc2478 gumstix" ;;
+      h8300)   ALL_BSPS="h8sim" ;;
+      i386)    ALL_BSPS="i386ex pc386 pc386dx pc486 pc586 pc686"
+               ALL_BSPS="${ALL_BSPS} ts_386ex" ;;
+      lm32)    ALL_BSPS="lm32_evr" ;;
+      m32c)    ALL_BSPS="m32csim" ;;
+      m32r)    ALL_BSPS="m32rsim" ;;
+      m68k)    ALL_BSPS="gen68360 gen68360_040 mvme136 mvme147 mvme147s"
+               ALL_BSPS="${ALL_BSPS} mvme162 mvme162lx mvme167 ods68302"
+               ALL_BSPS="${ALL_BSPS} sim68000 mcf5206elite "
+               ALL_BSPS="${ALL_BSPS} uC5282 mcf52235 mcf5329"
+               ALL_BSPS="${ALL_BSPS} gen68302 csb360 simcpu32 mrm332 av5282"
+               ALL_BSPS="${ALL_BSPS} gen68340 mcf5235 idp pgh360"<span style="background-color: #FF0000"> </span>
+               ALL_BSPS="${ALL_BSPS} m5484FireEngine" ;;
+      mips)    ALL_BSPS="jmr3904 genmongoosev csb350 hurricane"
+               ALL_BSPS="${ALL_BSPS} rbtx4925 rbtx4938" ;;
+      nios2)   ALL_BSPS="nios2_iss" ;;
+      powerpc) ALL_BSPS="psim score603e mcp750 mvme2100 mvme2307 mvme3100"
+               ALL_BSPS="${ALL_BSPS} mpc8260ads ss555 mvme5500 ep1a"
+               ALL_BSPS="${ALL_BSPS} pm520_cr825 pm520_ze30"
+               ALL_BSPS="${ALL_BSPS} mbx821_001 mbx821_002 mbx821_002b"
+               ALL_BSPS="${ALL_BSPS} mbx860_1b mbx860_001b mbx860_002"
+               ALL_BSPS="${ALL_BSPS} mbx860_005b mtx603e brs5l icecube"
+               ALL_BSPS="${ALL_BSPS} virtex mpc8349eamds hsc_cm01 haleakala"
+               ALL_BSPS="${ALL_BSPS} mpc8313erdb mpc5566evb"
+               ALL_BSPS="${ALL_BSPS} pghplus tqm8xx_stk8xx" ;;
+      sh)      ALL_BSPS="gensh1 gensh2 gensh4"
+               ALL_BSPS="${ALL_BSPS} simsh1 simsh2 simsh4" ;;
+      sparc)   ALL_BSPS="sis erc32 leon2 leon3" ;;
+      tic4x)   ALL_BSPS="c3xsim c4xsim" ;;
+      unix)    ALL_BSPS="posix"
+
+        supported=no
+        # check to see if this host has a simulator port
+        case `${RTEMS}/config.guess` in
+          i[3456]86-pc-linux*)  supported=yes ;;
+          sparc-sun-solaris*)   supported=yes ;;
+          i[3456]86-*freebsd2*) supported=yes ;;
+          *hpux*)
+             echo "You are on a platform which needs to be tested".
+             echo "HPUX has not been tested with the autoconf configuration."
+             exit 0
+             ;;
+        esac
+        ;;
+      *)
+        echo "UNKNOWN CPU ${CPU} -- add to bit_all"
+        ;;
+    esac
+
+    if [ ${do_barebsps} = yes ] ; then
+      case $CPU in
+       i386)        ALL_BSPS="${ALL_BSPS} \
+                      bare-i386_fp bare-i386_nofp bare-i486dx \
+                      bare-i486sx bare-pentium" ;;
+       m68k)        ALL_BSPS="${ALL_BSPS} \
+                     bare-m68000 bare-m68020 bare-m68020nofp \
+                     bare-m68040 bare-m68040nofp \
+                     bare-m68060 bare-m68060nofp \
+                     bare-m68302 bare-cpu32 bare-cpu32+ bare-m5200" ;;
+       powerpc)     ALL_BSPS="${ALL_BSPS} bare-ppc403 bare-ppc603e" ;;
+       sh)          ALL_BSPS="${ALL_BSPS} bare-sh7032" ;;
+      esac
+    fi
+
+    #
+    #  Decide to cycle over all the BSPs
+    #
+    if [ ${BSP} = "all" ] ; then
+      BSPS_TO_TEST="${ALL_BSPS}"
+    else
+      BSPS_TO_TEST="${BSP}"
+    fi<span style="background-color: #FF0000"> </span>
+
+    if [ "X${BSPS_TO_TEST}" != "X" ] ; then
+      for BSP_TO_TEST in ${BSPS_TO_TEST}
+      do
+        echo "Building RTEMS targetting ${CPU} for the ${BSP_TO_TEST} board"
+        logfile=log/${CPU}-${BSP_TO_TEST}.log
+        if [ ${verbose} = yes ] ; then
+           echo "./bit_rtems $CPU $BSP_TO_TEST >${logfile} 2>&1"
+        fi
+        if [ ${testing} = no ] ; then
+          BUILDDIR=build-${CPU}-${BSP_TO_TEST}-rtems
+          ./bit_rtems $CPU $BSP_TO_TEST >${logfile} 2>&1
+          # mv ${BUILDDIR}/${BSP_TO_TEST}/test*/*.log log 2>/dev/null
+          du -s -k ${BUILDDIR}
+          rm -rf ${BUILDDIR}
+        fi
+      done
+    fi
+  fi
+
+done
+
+# Now we are done
+
+stop=`date`
+
+echo
+echo "Started:  " $start
+echo "Finished: " $stop
+exit 0
</font></pre>
<p> </p>
<a name='cs2'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-05-04 Joel Sherrill <joel.sherrill@oarcorp.com>

        * bit_all_bsps: For 4.10 determine the list of BSPs on the fly.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//gcc-testing/rtems/ChangeLog.diff?r1=text&tr1=1.12&r2=text&tr2=1.13&diff_format=h">M</a></td><td width='1%'>1.13</td><td width='100%'>rtems/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//gcc-testing/rtems/bit_all_bsps.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>rtems/bit_all_bsps</td></tr>
</table>
<pre>
<font color='#006600'>diff -u gcc-testing/rtems/ChangeLog:1.12 gcc-testing/rtems/ChangeLog:1.13
--- gcc-testing/rtems/ChangeLog:1.12    Tue May  4 10:12:04 2010
+++ gcc-testing/rtems/ChangeLog Tue May  4 10:22:11 2010
</font><font color='#997700'>@@ -1,5 +1,9 @@
</font> 2010-05-04        Joel Sherrill <joel.sherrill@oarcorp.com>
 
<font color='#000088'>+   * bit_all_bsps: For 4.10 determine the list of BSPs on the fly.
+
+2010-05-04     Joel Sherrill <joel.sherrill@oarcorp.com>
+
</font>   * bit_all_bsps: New file.
        * bit_all: Removed.
        File names are now unique considering case.

<font color='#006600'>diff -u gcc-testing/rtems/bit_all_bsps:1.1 gcc-testing/rtems/bit_all_bsps:1.2
--- gcc-testing/rtems/bit_all_bsps:1.1  Tue May  4 10:12:04 2010
+++ gcc-testing/rtems/bit_all_bsps      Tue May  4 10:22:11 2010
</font><font color='#997700'>@@ -44,117 +44,110 @@
</font> rm -rf ticker-executables
 mkdir ticker-executables
 
<font color='#880000'>-# Now cycle through all the CPUs selected
-for CPU in ${CPUS}<span style="background-color: #FF0000"> </span>
-do
-  #
-  #  Try to build RTEMS
-  #
-
-  if [ "x${RTEMS}" != "x" ] ; then
-
-    #
-    #  Calculate the set of BSPs which could be built
-    #
-    #  Pick up the minimum set and then see if we are doing everything.
-    #
-
</font><font color='#000088'>+#
+#  Calculate the set of BSPs which could be built
+#
+#  Pick up the minimum set and then see if we are doing everything.
+#
+get_bsps()
+{
+  if [ -d ${RTEMS}/c/src/lib/libbsp/i386/pc386/make/custom ] ; then
+    ALL_BSPS=`ls -1 ${RTEMS}/c/src/lib/libbsp/${CPU}/*/make/custom/*cfg | \
+      while read f; do \
+        basename $f; done | sed -e 's/.cfg$//' `
+<span style="background-color: #FF0000">      </span>
+  else
+    # RTEMS before 4.10
</font>     case $CPU in<span style="background-color: #FF0000">   </span>
       avr)     ALL_BSPS="avrtest" ;;
       bfin)    ALL_BSPS="eZKit533 bf537Stamp" ;;
       arm)     ALL_BSPS="csb336 csb337 csb637 edb7312 gba gp32 nds"
<font color='#880000'>-               ALL_BSPS="${ALL_BSPS} rtl22xx rtl22xx_t smdk2410"
-               ALL_BSPS="${ALL_BSPS} lpc2478 gumstix" ;;
</font><font color='#000088'>+             ALL_BSPS="${ALL_BSPS} rtl22xx rtl22xx_t smdk2410"
+              ALL_BSPS="${ALL_BSPS} lpc2478 gumstix" ;;
</font>       h8300)   ALL_BSPS="h8sim" ;;
       i386)    ALL_BSPS="i386ex pc386 pc386dx pc486 pc586 pc686"
<font color='#880000'>-               ALL_BSPS="${ALL_BSPS} ts_386ex" ;;
</font><font color='#000088'>+             ALL_BSPS="${ALL_BSPS} ts_386ex" ;;
</font>       lm32)    ALL_BSPS="lm32_evr" ;;
       m32c)    ALL_BSPS="m32csim" ;;
       m32r)    ALL_BSPS="m32rsim" ;;
       m68k)    ALL_BSPS="gen68360 gen68360_040 mvme136 mvme147 mvme147s"
<font color='#880000'>-               ALL_BSPS="${ALL_BSPS} mvme162 mvme162lx mvme167 ods68302"
-               ALL_BSPS="${ALL_BSPS} sim68000 mcf5206elite "
-               ALL_BSPS="${ALL_BSPS} uC5282 mcf52235 mcf5329"
-               ALL_BSPS="${ALL_BSPS} gen68302 csb360 simcpu32 mrm332 av5282"
-               ALL_BSPS="${ALL_BSPS} gen68340 mcf5235 idp pgh360"<span style="background-color: #FF0000"> </span>
-               ALL_BSPS="${ALL_BSPS} m5484FireEngine" ;;
</font><font color='#000088'>+             ALL_BSPS="${ALL_BSPS} mvme162 mvme162lx mvme167 ods68302"
+              ALL_BSPS="${ALL_BSPS} sim68000 mcf5206elite "
+              ALL_BSPS="${ALL_BSPS} uC5282 mcf52235 mcf5329"
+              ALL_BSPS="${ALL_BSPS} gen68302 csb360 simcpu32 mrm332 av5282"
+              ALL_BSPS="${ALL_BSPS} gen68340 mcf5235 idp pgh360"<span style="background-color: #FF0000"> </span>
+              ALL_BSPS="${ALL_BSPS} m5484FireEngine" ;;
</font>       mips)    ALL_BSPS="jmr3904 genmongoosev csb350 hurricane"
<font color='#880000'>-               ALL_BSPS="${ALL_BSPS} rbtx4925 rbtx4938" ;;
</font><font color='#000088'>+             ALL_BSPS="${ALL_BSPS} rbtx4925 rbtx4938" ;;
</font>       nios2)   ALL_BSPS="nios2_iss" ;;
       powerpc) ALL_BSPS="psim score603e mcp750 mvme2100 mvme2307 mvme3100"
<font color='#880000'>-               ALL_BSPS="${ALL_BSPS} mpc8260ads ss555 mvme5500 ep1a"
-               ALL_BSPS="${ALL_BSPS} pm520_cr825 pm520_ze30"
-               ALL_BSPS="${ALL_BSPS} mbx821_001 mbx821_002 mbx821_002b"
-               ALL_BSPS="${ALL_BSPS} mbx860_1b mbx860_001b mbx860_002"
-               ALL_BSPS="${ALL_BSPS} mbx860_005b mtx603e brs5l icecube"
-               ALL_BSPS="${ALL_BSPS} virtex mpc8349eamds hsc_cm01 haleakala"
-               ALL_BSPS="${ALL_BSPS} mpc8313erdb mpc5566evb"
-               ALL_BSPS="${ALL_BSPS} pghplus tqm8xx_stk8xx" ;;
</font><font color='#000088'>+             ALL_BSPS="${ALL_BSPS} mpc8260ads ss555 mvme5500 ep1a"
+              ALL_BSPS="${ALL_BSPS} pm520_cr825 pm520_ze30"
+              ALL_BSPS="${ALL_BSPS} mbx821_001 mbx821_002 mbx821_002b"
+              ALL_BSPS="${ALL_BSPS} mbx860_1b mbx860_001b mbx860_002"
+              ALL_BSPS="${ALL_BSPS} mbx860_005b mtx603e brs5l icecube"
+              ALL_BSPS="${ALL_BSPS} virtex mpc8349eamds hsc_cm01 haleakala"
+              ALL_BSPS="${ALL_BSPS} mpc8313erdb mpc5566evb"
+              ALL_BSPS="${ALL_BSPS} pghplus tqm8xx_stk8xx" ;;
</font>       sh)      ALL_BSPS="gensh1 gensh2 gensh4"
<font color='#880000'>-               ALL_BSPS="${ALL_BSPS} simsh1 simsh2 simsh4" ;;
</font><font color='#000088'>+             ALL_BSPS="${ALL_BSPS} simsh1 simsh2 simsh4" ;;
</font>       sparc)   ALL_BSPS="sis erc32 leon2 leon3" ;;
       tic4x)   ALL_BSPS="c3xsim c4xsim" ;;
       unix)    ALL_BSPS="posix"
 
<font color='#880000'>-        supported=no
-        # check to see if this host has a simulator port
-        case `${RTEMS}/config.guess` in
-          i[3456]86-pc-linux*)  supported=yes ;;
-          sparc-sun-solaris*)   supported=yes ;;
-          i[3456]86-*freebsd2*) supported=yes ;;
-          *hpux*)
-             echo "You are on a platform which needs to be tested".
-             echo "HPUX has not been tested with the autoconf configuration."
-             exit 0
-             ;;
-        esac
-        ;;
</font><font color='#000088'>+      supported=no
+       # check to see if this host has a simulator port
+       case `${RTEMS}/config.guess` in
+         i[3456]86-pc-linux*)  supported=yes ;;
+         sparc-sun-solaris*)   supported=yes ;;
+         i[3456]86-*freebsd2*) supported=yes ;;
+         *hpux*)
+            echo "You are on a platform which needs to be tested".
+            echo "HPUX has not been tested with the autoconf configuration."
+            exit 0
+            ;;
+       esac
+       ;;
</font>       *)
<font color='#880000'>-        echo "UNKNOWN CPU ${CPU} -- add to bit_all"
-        ;;
</font><font color='#000088'>+      echo "UNKNOWN CPU ${CPU} -- add to bit_all"
+       ;;
</font>     esac
 
<font color='#880000'>-    if [ ${do_barebsps} = yes ] ; then
-      case $CPU in
-       i386)        ALL_BSPS="${ALL_BSPS} \
-                      bare-i386_fp bare-i386_nofp bare-i486dx \
-                      bare-i486sx bare-pentium" ;;
-       m68k)        ALL_BSPS="${ALL_BSPS} \
-                     bare-m68000 bare-m68020 bare-m68020nofp \
-                     bare-m68040 bare-m68040nofp \
-                     bare-m68060 bare-m68060nofp \
-                     bare-m68302 bare-cpu32 bare-cpu32+ bare-m5200" ;;
-       powerpc)     ALL_BSPS="${ALL_BSPS} bare-ppc403 bare-ppc603e" ;;
-       sh)          ALL_BSPS="${ALL_BSPS} bare-sh7032" ;;
-      esac
-    fi
-
-    #
-    #  Decide to cycle over all the BSPs
-    #
-    if [ ${BSP} = "all" ] ; then
-      BSPS_TO_TEST="${ALL_BSPS}"
-    else
-      BSPS_TO_TEST="${BSP}"
-    fi<span style="background-color: #FF0000"> </span>
-
-    if [ "X${BSPS_TO_TEST}" != "X" ] ; then
-      for BSP_TO_TEST in ${BSPS_TO_TEST}
-      do
-        echo "Building RTEMS targetting ${CPU} for the ${BSP_TO_TEST} board"
-        logfile=log/${CPU}-${BSP_TO_TEST}.log
-        if [ ${verbose} = yes ] ; then
-           echo "./bit_rtems $CPU $BSP_TO_TEST >${logfile} 2>&1"
-        fi
-        if [ ${testing} = no ] ; then
-          BUILDDIR=build-${CPU}-${BSP_TO_TEST}-rtems
-          ./bit_rtems $CPU $BSP_TO_TEST >${logfile} 2>&1
-          # mv ${BUILDDIR}/${BSP_TO_TEST}/test*/*.log log 2>/dev/null
-          du -s -k ${BUILDDIR}
-          rm -rf ${BUILDDIR}
-        fi
-      done
-    fi
</font><font color='#000088'>+  fi
+}
+
+
+# Now cycle through all the CPUs selected
+for CPU in ${CPUS}<span style="background-color: #FF0000"> </span>
+do
+
+
+  #
+  #  Decide to cycle over all the BSPs
+  #
+  if [ ${BSP} = "all" ] ; then
+    get_bsps
+    BSPS_TO_TEST="${ALL_BSPS}"
+  else
+    BSPS_TO_TEST="${BSP}"
+  fi<span style="background-color: #FF0000"> </span>
+
+  if [ "X${BSPS_TO_TEST}" != "X" ] ; then
+    for BSP_TO_TEST in ${BSPS_TO_TEST}
+    do
+      echo "Building RTEMS targetting ${CPU} for the ${BSP_TO_TEST} board"
+      logfile=log/${CPU}-${BSP_TO_TEST}.log
+      if [ ${verbose} = yes ] ; then
+        echo "./bit_rtems $CPU $BSP_TO_TEST >${logfile} 2>&1"
+      fi
+      if [ ${testing} = no ] ; then
+       BUILDDIR=build-${CPU}-${BSP_TO_TEST}-rtems
+       ./bit_rtems $CPU $BSP_TO_TEST >${logfile} 2>&1
+       mv ${BUILDDIR}/${BSP_TO_TEST}/test*/*.log log 2>/dev/null
+       du -s -k ${BUILDDIR}
+       rm -rf ${BUILDDIR}
+      fi
+    done
</font>   fi
 
 done
</pre>
<p> </p>

<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>