Changeset 8d182ca in rtems


Ignore:
Timestamp:
Feb 26, 2007, 9:35:04 AM (13 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
a8149e7
Parents:
397a1bec
Message:

Add BINUTILS_PKGVERS.

Location:
contrib/crossrpms/binutils
Files:
3 edited

Legend:

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

    r397a1bec r8d182ca  
     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

    r397a1bec r8d182ca  
    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

    r397a1bec r8d182ca  
    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.