Changeset 288a6fb in rtems-testing for gcc/rundeja


Ignore:
Timestamp:
Jul 21, 2010, 12:41:37 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
396b977
Parents:
64b459b
Message:

2010-07-21 Vinu Rajashekhar <vinutheraj@…>

  • do_one, rundeja, test_driver: Add Go support. Plus some cleanup from Joel.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • gcc/rundeja

    r64b459b r288a6fb  
    33#
    44
    5 if [ $# -ne 1 ] ; then
    6   echo USAGE: BSP
     5if [ $# -lt 2 ] ; then
     6  echo USAGE: BSP COMPILER
    77  exit 1
    88fi
     
    112112fi
    113113
    114 RTEMS_MAKEFILE_PATH=${rtemsdir} \
    115 SCRIPTDIR=${SCRIPTDIR} \
    116   make -f ${SCRIPTDIR}/gcc/Makefile.rtems_gccmain
    117 if [ $? -ne 0 ] ; then
    118   echo unable to compile RTEMS GCC Main
    119   exit 1
     114if [ $2 = gccgo ] ; then
     115  RTEMS_MAKEFILE_PATH=${rtemsdir} \
     116  SCRIPTDIR=${SCRIPTDIR} \
     117    make -f ${SCRIPTDIR}/gcc/Makefile.rtems_gccgoinit
     118  if [ $? -ne 0 ] ; then
     119    echo unable to compile RTEMS GCC Go Init File
     120    exit 1
     121  fi
     122  rtems_config=`pwd`/rtems_gccgo_init.o
     123  make check-go RUNTESTFLAGS="\
     124  SIM=${BSP_SIM} \
     125  RTEMS_MAKEFILE_PATH=${rtemsdir} \
     126  RTEMS_CONFIG_OBJ=${rtems_config} \
     127  --target_board=rtems-${CPU}-${DEJABSP} \
     128  "
     129else
     130  RTEMS_MAKEFILE_PATH=${rtemsdir} \
     131  SCRIPTDIR=${SCRIPTDIR} \
     132    make -f ${SCRIPTDIR}/gcc/Makefile.rtems_gccmain
     133  if [ $? -ne 0 ] ; then
     134    echo unable to compile RTEMS GCC Main
     135    exit 1
     136  fi
     137  rtems_config=`pwd`/rtems_gcc_main.o
     138  make check-gcc RUNTESTFLAGS="\
     139  SIM=${BSP_SIM} \
     140  RTEMS_MAKEFILE_PATH=${rtemsdir} \
     141  RTEMS_CONFIG_OBJ=${rtems_config} \
     142  --target_board=rtems-${CPU}-${DEJABSP} \
     143  "
    120144fi
    121 rtems_config=`pwd`/rtems_gcc_main.o
    122 make check-gcc RUNTESTFLAGS="\
    123 SIM=${BSP_SIM} \
    124 RTEMS_MAKEFILE_PATH=${rtemsdir} \
    125 RTEMS_CONFIG_OBJ=${rtems_config} \
    126 --target_board=rtems-${CPU}-${DEJABSP} \
    127 "
    128145# "execute.exp=pr206*"
    129146# vect.exp=vect*
Note: See TracChangeset for help on using the changeset viewer.