Changeset 38118d3 in rtems for scripts/mkbinutilspec


Ignore:
Timestamp:
Oct 19, 1999, 10:07:21 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
c937033e
Parents:
ab25407c
Message:

Now easier to modify version numbers in scripts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/mkbinutilspec

    rab25407c r38118d3  
    55
    66RTEMS_DIR=`dirname $0`
    7 RTEMS_VERSION=`grep Version ${RTEMS_DIR}/../VERSION | \
    8 sed -e 's%RTEMS[        ]*Version[      ]*\(.*\)[       ]*%\1%g'`
    97
    108target_alias=$1
    11 release=0
     9
     10# RPM release number
     11rpm_release=0
     12
     13# binutils version number
     14binutils_version=990901
     15binutils_patch_version=19991015
    1216
    1317# Some linux distributions use /usr/src/packages
     
    2529fi
    2630
    27 sed -e "s%@Version@%${RTEMS_VERSION}%g" \
    28 -e "s%@bsp@%${bsp}%g" \
    29 -e "s%@Release@%${release}%g" \
    30 -e "s%@target_alias@%${target_alias}%g" \
     31specfile=${dst}/$target_alias-binutils-${binutils_version}.spec
     32
     33sed -e "s%@Release@%${release}%g" \
     34    -e "s%@target_alias@%${target_alias}%g" \
     35    -e "s%@binutils_version@%${binutils_version}%g" \
     36    -e "s%@binutils_patch_version@%${binutils_patch_version}%g" \
    3137< ${RTEMS_DIR}/binutils.spec.in \
    32 > ${dst}/$target_alias-binutils.spec
     38> ${specfile}
    3339
    34 echo Generated ${dst}/$target_alias-binutils.spec.
     40echo Generated ${specfile}.
Note: See TracChangeset for help on using the changeset viewer.