Changeset 59292fe9 in rtems for scripts/gccnewlib/gccnewlib.add


Ignore:
Timestamp:
Jan 31, 2003, 6:22:09 AM (18 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
ab591073
Parents:
9c8ee7b
Message:

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

  • rtemsdoc/Makefile.am: Use $(top_builddir)/common/common.add, $(top_builddir)/common/clean.add, header.add. Generate rtemsdoc.spec.in.
  • rtemsdoc/mkspec.in: Remove exe_ext.
  • rtemsdoc/rtemsdoc.spec.in: Remove.
  • gccnewlib/Makefile.am: Use $(top_builddir)/common/common.add, $(top_builddir)/common/clean.add, header.add.
  • gccnewlib/base-gcc.m4: Replace @exe_ext@ with %{_exeext}.
  • gccnewlib/base-gcj.add: Replace @exe_ext@ with %{_exeext}.
  • gccnewlib/gccnewlib.add: Replace @exe_ext@ with %{_exeext}. Remove header, broken cdn-X configuration, %clean.
  • gccnewlib/target-g77.add: Replace @exe_ext@ with %{_exeext}.
  • gccnewlib/target-gcc.add: Replace @exe_ext@ with %{_exeext}.
  • gccnewlib/target-gcj.add: Replace @exe_ext@ with %{_exeext}.
  • gccnewlib/target-objc.add: Replace @exe_ext@ with %{_exeext}.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/gccnewlib/gccnewlib.add

    r9c8ee7b r59292fe9  
    1 #
    2 # spec file for building gcc for rtems
    3 #
    4 # Copyright  (c) 1999,2000,2001 OARCorp, Huntsville, AL
    5 #
    6 # please send bugfixes or comments to joel@OARcorp.com
    7 #
    8 
    9 %define _prefix @prefix@
    10 
    11 Vendor:       OAR Corporation
    12 Distribution: Linux
    131Name:         @target_alias@-gcc-newlib
    142Summary:      gcc and newlib C Library for @target_alias@.
     
    7361  cd build
    7462
    75 # HACK: This should be %{target} != %{build}, but SuSE's rpm screws it.
    76 %if "%{target_os}" != "%{build_os}"
    77   CONFIGURE_ARGS="--build=%{_build} --host=%{_target}"
    78 %endif
    79 
    80   ../gcc-@gcc_version@/configure $CONFIGURE_ARGS --target=@target_alias@ \
     63  ../gcc-@gcc_version@/configure \
     64    --target=@target_alias@ \
    8165    --with-gnu-as --with-gnu-ld --with-newlib --verbose \
    8266    --enable-threads --prefix=%{_prefix} @GCCLANGS@
     
    10185  # Bug in gcc-2.95.x: It bogusly tries to share cpp for all targets.
    10286  # Rename it to target_alias-cpp
    103   if test -f $RPM_BUILD_ROOT%{_prefix}/bin/cpp@exe_ext@;
     87  if test -f $RPM_BUILD_ROOT%{_prefix}/bin/cpp%{_exeext};
    10488  then
    105     mv $RPM_BUILD_ROOT%{_prefix}/bin/cpp@exe_ext@ \
    106       $RPM_BUILD_ROOT%{_prefix}/bin/@target_alias@-cpp@exe_ext@
     89    mv $RPM_BUILD_ROOT%{_prefix}/bin/cpp%{_exeext} \
     90      $RPM_BUILD_ROOT%{_prefix}/bin/@target_alias@-cpp%{_exeext}
    10791  fi
    10892
     
    150134  done
    151135
    152 %clean
    153 # let rpm --clean remove BuildRoot iif using the default BuildRoot
    154   test "$RPM_BUILD_ROOT" = "%{_tmppath}/%{name}" && \
    155     rm -rf $RPM_BUILD_ROOT
    156 
Note: See TracChangeset for help on using the changeset viewer.