Changeset a5f0d3f in rtems


Ignore:
Timestamp:
Feb 26, 2007, 9:36:22 AM (12 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Children:
7f14691e
Parents:
9a4713c
Message:

Add BINUTILS_PKGVERS.

Location:
contrib/crossrpms/binutils
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • contrib/crossrpms/binutils/binutils.add

    r9a4713c ra5f0d3f  
     1%define binutils_pkgvers @BINUTILS_PKGVERS@
    12%define binutils_version @BINUTILS_VERS@
    2 %define binutils_rpmvers %{expand:%(echo @BINUTILS_VERS@ | tr - _)}
     3%define binutils_rpmvers %{expand:%(echo "@BINUTILS_VERS@" | tr - _ )}
    34
    45Name:           @rpmprefix@@tool_target@-binutils
     
    2021%if %build_infos
    2122
    22 # Requires:     @rpmprefix@rtems4.7-base-binutils
    2323Requires:       @rpmprefix@binutils-common
    2424%endif
  • contrib/crossrpms/binutils/build.add

    r9a4713c ra5f0d3f  
    33  cd build
    44  CFLAGS="$RPM_OPT_FLAGS" \
    5   ../binutils-%{binutils_version}/configure \
     5  ../binutils-%{binutils_pkgvers}/configure \
    66    --build=%_build --host=%_host \
    77    --target=@tool_target@ \
  • contrib/crossrpms/binutils/prep.add

    r9a4713c ra5f0d3f  
    33
    44%setup -q -D -T -n %{name}-%{version} -a0
    5 cd binutils-%{binutils_version}
     5cd binutils-%{binutils_pkgvers}
    66%{?PATCH0:%patch0 -p1}
    77cd ..
Note: See TracChangeset for help on using the changeset viewer.