source: rtems-testing/sim-scripts/mkrun @ 66dcbe8

4.11
Last change on this file since 66dcbe8 was 9cb0643, checked in by Joel Sherrill <joel.sherrill@…>, on Jan 20, 2009 at 2:22:24 AM

2009-01-19 Joel Sherrill <joel.sherrill@…>

  • .cvsignore, Makefile, gdb-sim-run.in, gdb-sim.in, h8sim.in, jmr3904.in, m32csim.in, m32rsim.in, mkrun, psim.in, simsh.in, sis.in: Add ARM/edb7312 support. This is the first Skyeye BSP and adding this required tinkering with all BSP scripts. All appear to still work OK.
  • edb7312.in, skyeye-support: New files.
  • Property mode set to 100755
File size: 650 bytes
Line 
1#! /bin/sh
2#
3#  Helper to sed run scripts
4#
5#  $Id$
6
7doGdb=$1
8CPU=$2
9CPU_TARGET=$3
10BSP=$4
11RUN=${BSP}
12GDB=${BSP}-gdb
13
14# Generate RUN script
15cat gdb-sim-run.in | \
16  sed -e "s/@CPU@/${CPU}/" \
17      -e "s/@CPU_TARGET@/${CPU_TARGET}/" \
18      -e "s/@BSP@/${BSP}/" \
19      -e "/^##INSERT BSP SUPPORT HERE/r ${BSP}.in" | \
20  sed -e "/^##INSERT SKYEYE SUPPORT HERE/r skyeye-support" >${RUN}
21chmod +x ${RUN}
22
23# Generate GDB script
24if [ ${doGdb} = yes ] ; then
25  cat gdb-sim.in | \
26    sed -e "s/@CPU@/${CPU}/" \
27        -e "s/@CPU_TARGET@/${CPU_TARGET}/" \
28        -e "s/@BSP@/${BSP}/" \
29        -e "/^##INSERT BSP SUPPORT HERE/r ${BSP}.in" >${GDB}
30  chmod +x ${GDB}
31fi
32
33exit 0
Note: See TracBrowser for help on using the repository browser.