Changeset 61e5a32 in rtems


Ignore:
Timestamp:
Aug 7, 2006, 7:01:54 AM (13 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
72eb02e
Parents:
73a312d7
Message:

Removed the tool version as Ralf has removed it from the rpms.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • contrib/mingw/build-exes.sh

    r73a312d7 r61e5a32  
    2323
    2424version=4.7
    25 tool_version=20060724
    2625tool_build=1
    2726
     
    109108get_rpm_list()
    110109{
    111   echo $(ls $rpm_topdir/mingw32/RPMS/$1/*.rpm | grep -v "debuginfo" | grep $2 | grep $3)
     110  if [ -d $rpm_topdir/mingw32/RPMS/$1 ]; then
     111   echo $(ls $rpm_topdir/mingw32/RPMS/$1/*.rpm | grep -v "debuginfo" | grep $2)
     112  fi
    112113}
    113114
     
    117118for p in $mingw32_cpu_list
    118119do
    119  common_rpms=$(get_rpm_list $p $common_label "$tool_version.$tool_build")
     120 common_rpms=$(get_rpm_list $p $common_label)
    120121 check "getting the common RPM list"
    121122
     
    124125 for t in $targets
    125126 do
    126   rpms=$(get_rpm_list $p $t "$tool_version.$tool_build")
     127  rpms=$(get_rpm_list $p $t)
    127128  check "getting the RPM list"
    128129  if [ -n "$rpms" ]; then
     
    201202   echo "!define RTEMS_TARGET \"$t\"" > $of
    202203   echo "!define RTEMS_VERSION \"$version\"" >> $of
    203    echo "!define RTEMS_BUILD_VERSION \"$tool_version-$tool_build\"" >> $of
     204   echo "!define RTEMS_BUILD_VERSION \"$tool_build\"" >> $of
    204205   echo "!define RTEMS_PREFIX \"rtems-tools\"" >> $of
    205206   echo "!define RTEMS_SOURCE \"$source\"" >> $of
Note: See TracChangeset for help on using the changeset viewer.