Changeset deed2a0 in rtems for c


Ignore:
Timestamp:
Dec 4, 2008, 8:27:35 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.9
Children:
b72be3b
Parents:
b6e3a7e2
Message:

2008-12-04 Joel Sherrill <joel.sherrill@…>

  • psim-bottom, psim-gdb-bottom, psim-gdb-top.in, psim-shared, psim-top.in: Clean up and works better. Uses argv[0] to override configured target name.
Location:
c/src/lib/libbsp/powerpc/psim/tools
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/psim/tools/ChangeLog

    rb6e3a7e2 rdeed2a0  
     12008-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * psim-bottom, psim-gdb-bottom, psim-gdb-top.in, psim-shared,
     4        psim-top.in: Clean up and works better. Uses argv[0] to override
     5        configured target name.
     6
    172008-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/powerpc/psim/tools/psim-bottom

    rb6e3a7e2 rdeed2a0  
    2828fi
    2929
     30if [ X${RUN} = X ] ; then
     31  RUN=${rtemsTarget}-run
     32fi
     33
    3034gen_device_tree ${1} >${TREE_FILE}
    3135runone ${1} ${limit}
  • c/src/lib/libbsp/powerpc/psim/tools/psim-gdb-bottom

    rb6e3a7e2 rdeed2a0  
    33
    44# Recognize special argument to force System V IPC support on
     5use_sysv_ipc="auto"
    56if [ X${1} = "X-psim_sysv" ] ; then
    67  use_sysv_ipc="yes"
    78  shift
    8 else
    9   use_sysv_ipc="auto"
    109fi
    1110
     
    2221}
    2322
    24 GDB=powerpc-rtems4.9-gdb
     23GDB=${rtemsTarget}-gdb
    2524
    2625gen_device_tree ${1} >${TREE_FILE}
  • c/src/lib/libbsp/powerpc/psim/tools/psim-gdb-top.in

    rb6e3a7e2 rdeed2a0  
    1313#
    1414
    15 GDB=@target_alias@-gdb
     15rtemsTarget=@target_alias@
    1616
    1717GDB_FILE=gdb_tree.${LOGNAME}
  • c/src/lib/libbsp/powerpc/psim/tools/psim-shared

    rb6e3a7e2 rdeed2a0  
    11
    22TREE_FILE=psim_tree.${LOGNAME}
     3
     4case $0 in
     5  *4.8*)  rtemsTarget=powerpc-rtems4.8 ;;
     6  *4.9*)  rtemsTarget=powerpc-rtems4.9 ;;
     7  *4.10*) rtemsTarget=powerpc-rtems4.10 ;;
     8  *) ;;
     9esac
    310
    411### Generate the PSIM device tree based upon the type of application being run
     
    714  enable_sys_ipc="yes"
    815
    9   if [ ${use_sys_ipc} = "yes" ] ; then
     16  if [ ${use_sysv_ipc} = "yes" ] ; then
    1017    enable_sysv_ipc="yes"
    1118    value=-1               # for now assume we are slave in this mode
     
    6673    echo "/shm@0x0c110000/key ${RTEMS_SHM_KEY}"
    6774  fi
    68 
    69 exit 0
    7075}
    7176
  • c/src/lib/libbsp/powerpc/psim/tools/psim-top.in

    rb6e3a7e2 rdeed2a0  
    1414
    1515TREE_FILE=psim_tree.${LOGNAME}
    16 if [ X${RUN} = X ] ; then
    17   RUN=@target_alias@-run
    18 fi
    1916
     17rtemsTarget=@target_alias@
    2018
    2119progname=${0##*/}        # fast basename hack for ksh, bash
Note: See TracChangeset for help on using the changeset viewer.