Changeset 0ac55c0 in rtems


Ignore:
Timestamp:
Jan 31, 2003, 4:58:01 AM (18 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
6044dd2f
Parents:
b5b0433e
Message:

2003-01-31 Ralf Corsepius <corsepiu@…>

  • binutils/binutils.add: Remove header, broken cdn-X configuration, %clean.
  • binutils/mkspec.in: Remove exe_ext, build_alias, host_alias.
  • binutils/target-binutils.add: Replace @exe_ext@ with %{_exeext}.
Location:
scripts
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • scripts/ChangeLog

    rb5b0433e r0ac55c0  
     12003-01-31      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * binutils/binutils.add: Remove header, broken cdn-X configuration,
     4        %clean.
     5        * binutils/mkspec.in: Remove exe_ext, build_alias, host_alias.
     6        * binutils/target-binutils.add: Replace @exe_ext@ with %{_exeext}.
     7
    182003-01-31      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    29
  • scripts/binutils/binutils.add

    rb5b0433e r0ac55c0  
    1 #
    2 # spec file for binutils package targetting rtems
    3 #
    4 # Copyright  (c)  1999,2000,2002 OARCorp, Huntsville, AL
    5 #
    6 # please send bugfixes or comments to joel@OARcorp.com
    7 #
    8 
    9 %define _prefix @prefix@
    10 %define _defaultbuildroot %{_tmppath}/%{name}-%{version}
    11 
    12 Vendor:       OAR Corporation
    13 Distribution: Linux
    141Name:         @target_alias@-binutils-collection
    152Summary:      binutils for target @target_alias@
     
    5542
    5643%build
    57 #%if "%{_target_os}" != "%{_build_os}"
    58 #  CONFIGURE_ARGS="--build=%{_build} --host=%{_target}"
    59 #%endif
    60 
    6144  cd build
    62   ../binutils-@binutils_version@/configure ${CONFIGURE_ARGS} --target=@target_alias@ \
     45  ../binutils-@binutils_version@/configure \
     46    --target=@target_alias@ \
    6347    --verbose --prefix=%{_prefix} --disable-nls
    6448
     
    7660    $RPM_BUILD_ROOT%{_prefix}/share/locale
    7761
    78   rm -f $RPM_BUILD_ROOT%{_prefix}/bin/@target_alias@-c++filt@exe_ext@
     62  rm -f $RPM_BUILD_ROOT%{_prefix}/bin/@target_alias@-c++filt%{_exeext}
    7963# gzip info files
    8064  gzip -9qf $RPM_BUILD_ROOT%{_prefix}/info/*.info 2>/dev/null
     
    9781  done
    9882
    99 %clean
    100 # let rpm --clean remove BuildRoot iif using the default BuildRoot
    101   test "$RPM_BUILD_ROOT" = "%{_defaultbuildroot}" && \
    102     rm -rf $RPM_BUILD_ROOT
    103 
  • scripts/binutils/mkspec.in

    rb5b0433e r0ac55c0  
    77
    88CFG=../setup.cache
    9 exe_ext=@EXEEXT@
    109
    1110specsrc=${RTEMS_DIR}/binutils/binutils.spec.in
     
    5857    -e "s,@rpm_build_root\@,${rpm_build_root},g" \
    5958    -e "s%@target_alias\@%${target_alias}%g" \
    60     -e "s%@build_alias\@%@build_alias@%g" \
    61     -e "s%@host_alias\@%@host_alias@%g" \
    6259    -e "s%@prefix\@%@prefix@%g" \
    6360    -e "s%@binutils_version\@%${binutils_version}%g" \
    6461    -e "s%@binutils_patch_version\@%${binutils_patch_version}%g" \
    65     -e "s%@exe_ext\@%${exe_ext}%g" \
    6662    -e "s,@PATCH1\@,${PATCH1}," \
    6763    -e "s,@PATCH2\@,${PATCH2}," \
  • scripts/binutils/target-binutils.add

    rb5b0433e r0ac55c0  
    2020
    2121%dir %{_prefix}/bin
    22 %{_prefix}/bin/@target_alias@-addr2line@exe_ext@
    23 %{_prefix}/bin/@target_alias@-ar@exe_ext@
    24 %{_prefix}/bin/@target_alias@-as@exe_ext@
     22%{_prefix}/bin/@target_alias@-addr2line%{_exeext}
     23%{_prefix}/bin/@target_alias@-ar%{_exeext}
     24%{_prefix}/bin/@target_alias@-as%{_exeext}
    2525# c++filt now comes from gcc
    26 # %{_prefix}/bin/@target_alias@-c++filt@exe_ext@
     26# %{_prefix}/bin/@target_alias@-c++filt%{_exeext}
    2727# deleted as of 2.13
    28 # %{_prefix}/bin/@target_alias@-gasp@exe_ext@
    29 %{_prefix}/bin/@target_alias@-ld@exe_ext@
    30 %{_prefix}/bin/@target_alias@-nm@exe_ext@
    31 %{_prefix}/bin/@target_alias@-objcopy@exe_ext@
    32 %{_prefix}/bin/@target_alias@-objdump@exe_ext@
    33 %{_prefix}/bin/@target_alias@-ranlib@exe_ext@
    34 %{_prefix}/bin/@target_alias@-readelf@exe_ext@
    35 %{_prefix}/bin/@target_alias@-size@exe_ext@
    36 %{_prefix}/bin/@target_alias@-strings@exe_ext@
    37 %{_prefix}/bin/@target_alias@-strip@exe_ext@
     28# %{_prefix}/bin/@target_alias@-gasp%{_exeext}
     29%{_prefix}/bin/@target_alias@-ld%{_exeext}
     30%{_prefix}/bin/@target_alias@-nm%{_exeext}
     31%{_prefix}/bin/@target_alias@-objcopy%{_exeext}
     32%{_prefix}/bin/@target_alias@-objdump%{_exeext}
     33%{_prefix}/bin/@target_alias@-ranlib%{_exeext}
     34%{_prefix}/bin/@target_alias@-readelf%{_exeext}
     35%{_prefix}/bin/@target_alias@-size%{_exeext}
     36%{_prefix}/bin/@target_alias@-strings%{_exeext}
     37%{_prefix}/bin/@target_alias@-strip%{_exeext}
    3838
    3939%dir %{_prefix}/@target_alias@
    4040%dir %{_prefix}/@target_alias@/bin
    41 %{_prefix}/@target_alias@/bin/ar@exe_ext@
    42 %{_prefix}/@target_alias@/bin/as@exe_ext@
    43 %{_prefix}/@target_alias@/bin/ld@exe_ext@
    44 %{_prefix}/@target_alias@/bin/nm@exe_ext@
    45 %{_prefix}/@target_alias@/bin/ranlib@exe_ext@
    46 %{_prefix}/@target_alias@/bin/strip@exe_ext@
     41%{_prefix}/@target_alias@/bin/ar%{_exeext}
     42%{_prefix}/@target_alias@/bin/as%{_exeext}
     43%{_prefix}/@target_alias@/bin/ld%{_exeext}
     44%{_prefix}/@target_alias@/bin/nm%{_exeext}
     45%{_prefix}/@target_alias@/bin/ranlib%{_exeext}
     46%{_prefix}/@target_alias@/bin/strip%{_exeext}
    4747
    4848%dir %{_prefix}/@target_alias@/lib
Note: See TracChangeset for help on using the changeset viewer.