Changeset 1479c22 in rtems


Ignore:
Timestamp:
Nov 18, 1999, 8:38:27 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
ea72a6c
Parents:
97d7eaf8
Message:

Added code to set extra configure arguments for sparc and powerpc targets
such that the simulator is enabled.

Also corrected a typo which prevented the simulator files from being
included in the file list.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/mkgdbspec.in

    r97d7eaf8 r1479c22  
    5050specfile=${dst}/$target_alias-gdb-${gdb_version}.spec
    5151
     52case ${target_alias} in
     53  powerpc*)
     54    extra_configure_arguments="--enable-sim --enable-sim-powerpc --enable-sim-timebase --enable-sim-hardware"
     55    #  Enabling this causes the program image to be huge and causes
     56    #  some gcc/hosts combinations to run out of memory.
     57    #          --enable-sim-inline
     58    ;;
     59  sparc*)
     60    extra_configure_arguments="--enable-sim"
     61    ;;
     62  *)
     63    ;;
     64esac
     65
    5266sed -e "s%@Release@%${gdb_rpm_release}%g" \
    5367    -e "s%@rpm_build_root@%${rpm_build_root}%g" \
     
    5569    -e "s%@gdb_version@%${gdb_version}%g" \
    5670    -e "s%@gdb_patch_version@%${gdb_patch_version}%g" \
     71    -e "s%@extra_configure_arguments@%${extra_configure_arguments}%g" \
    5772< ${RTEMS_DIR}/gdb/gdb.spec.in \
    5873> ${specfile}
    5974
    60 case ${target} in
     75case ${target_alias} in
    6176  powerpc*)
    62      echo "/opt/rtems/bin/@target_alias@-run"
     77     echo "/opt/rtems/bin/${target_alias}-run"
    6378     ;;
    6479  sparc*)
    65      echo "/opt/rtems/bin/@target_alias@-run"
    66      echo "/opt/rtems/bin/@target_alias@-sis"
     80     echo "/opt/rtems/bin/${target_alias}-run"
     81     echo "/opt/rtems/bin/${target_alias}-sis"
    6782     ;;
    6883  *) ;;
Note: See TracChangeset for help on using the changeset viewer.