Changeset d42545a in rtems-testing for sim-scripts


Ignore:
Timestamp:
Jan 19, 2009, 11:35:04 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
82cce79
Parents:
6cc4645
Message:

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

  • .cvsignore, Makefile: Switch to using script to do sed and add versioning on installation.
  • mkrun: New file.
Location:
sim-scripts
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • sim-scripts/.cvsignore

    r6cc4645 rd42545a  
    1 h8sim-4.10
    2 jmr3904-4.10
    3 m32csim-4.10
    4 m32rsim-4.10
    5 simsh-4.10
    6 sis-4.10
     1h8sim
     2jmr3904
     3m32csim
     4m32rsim
     5simsh
     6sis
    77usleep
  • sim-scripts/ChangeLog

    r6cc4645 rd42545a  
     12009-01-19      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * .cvsignore, Makefile: Switch to using script to do sed and add
     4        versioning on installation.
     5        * mkrun: New file.
     6
    172009-01-19      Joel Sherrill <joel.sherrill@oarcorp.com>
    28
  • sim-scripts/Makefile

    r6cc4645 rd42545a  
    44
    55INSTALL_DIR=../bin
    6 GENERATED_SCRIPTS=h8sim-4.10 jmr3904-4.10 m32csim-4.10 m32rsim-4.10 \
    7     sis-4.10 simsh-4.10
     6GENERATED_SCRIPTS=h8sim jmr3904 m32csim m32rsim sis simsh
    87COMPILED_PROGRAMS=usleep
    98
     
    1615        $(CC) -o $@ $<
    1716
    18 h8sim-4.10: gdb-sim-run.in h8sim.in
    19         sed -e 's/@CPU@/h8300/' \
    20             -e 's/@CPU_TARGET@/h8300/' \
    21             -e 's/@BSP@/h8sim/' \
    22             -e '/^##INSERT BSP SUPPORT HERE/r h8sim.in' <$< >$@
    23         chmod +x $@
     17h8sim: gdb-sim-run.in h8sim.in
     18        ./mkrun H8300 h8300 h8sim
    2419
    25 jmr3904-4.10: gdb-sim-run.in jmr3904.in
    26         sed -e 's/@CPU@/MIPS/' \
    27             -e 's/@CPU_TARGET@/mipstx39/' \
    28             -e 's/@BSP@/jmr3904/' \
    29             -e '/^##INSERT BSP SUPPORT HERE/r jmr3904.in' <$< >$@
    30         chmod +x $@
     20jmr3904: gdb-sim-run.in jmr3904.in
     21        ./mkrun MIPS mipstx39 jmr3904
    3122
    32 m32csim-4.10: gdb-sim-run.in m32csim.in
    33         sed -e 's/@CPU@/M32C/' \
    34             -e 's/@CPU_TARGET@/m32c/' \
    35             -e 's/@BSP@/m32csim/' \
    36             -e '/^##INSERT BSP SUPPORT HERE/r m32csim.in' <$< >$@
    37         chmod +x $@
     23m32csim: gdb-sim-run.in m32csim.in
     24        ./mkrun M32C m32c m32csim
    3825
    39 m32rsim-4.10: gdb-sim-run.in m32rsim.in
    40         sed -e 's/@CPU@/M32R/' \
    41             -e 's/@CPU_TARGET@/m32r/' \
    42             -e 's/@BSP@/m32rsim/' \
    43             -e '/^##INSERT BSP SUPPORT HERE/r m32rsim.in' <$< >$@
    44         chmod +x $@
     26m32rsim: gdb-sim-run.in m32rsim.in
     27        ./mkrun M32R m32r m32rsim
    4528
    46 sis-4.10: gdb-sim-run.in sis.in
    47         sed -e 's/@CPU@/SPARC/' \
    48             -e 's/@CPU_TARGET@/sparc/' \
    49             -e 's/@BSP@/sis/' \
    50             -e '/^##INSERT BSP SUPPORT HERE/r sis.in' <$< >$@
    51         chmod +x $@
     29sis: gdb-sim-run.in sis.in
     30        ./mkrun SPARC sparc sis
    5231
    53 simsh-4.10: gdb-sim-run.in simsh.in
    54         sed -e 's/@CPU@/SuperH/' \
    55             -e 's/@CPU_TARGET@/sh/' \
    56             -e 's/@BSP@/simsh/' \
    57             -e '/^##INSERT BSP SUPPORT HERE/r simsh.in' <$< >$@
    58         chmod +x $@
     32simsh: gdb-sim-run.in simsh.in
     33        ./mkrun SuperH sh simsh
    5934
    6035clean:
     
    6237
    6338install:
    64         for i in ${GENERATED_SCRIPTS} ${COMPILED_PROGRAMS} ; do \
     39        for i in ${COMPILED_PROGRAMS} ; do \
    6540          cp $${i} ${INSTALL_DIR} ; \
    6641        done
    67         cd ${INSTALL_DIR} ; for i in jmr3904 ; do \
     42        for i in ${GENERATED_SCRIPTS} ; do \
     43          cp $${i} ${INSTALL_DIR}/$${i}-4.10 ; \
     44        done
     45        cd ${INSTALL_DIR} ; for i in ${GENERATED_SCRIPTS} ; do \
    6846          for v in 4.9 4.8 4.7 4.6 ; do \
    6947            rm -f $${i}-$${v} ; ln -s $${i}-4.10 $${i}-$${v} ; \
Note: See TracChangeset for help on using the changeset viewer.