Changeset 13501927 in rtems


Ignore:
Timestamp:
Mar 10, 2006, 1:44:30 PM (14 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
1a64d3e
Parents:
a56035b
Message:

Use %build_infos

Location:
contrib/crossrpms
Files:
17 edited

Legend:

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

    ra56035b r13501927  
    1 %if "%{_prefix}" != "/usr"
     1%if %{build_infos}
    22# ==============================================================
    33# rtems-base-binutils
  • contrib/crossrpms/binutils/binutils.add

    ra56035b r13501927  
    11%define binutils_version @BINUTILS_VERS@
    22%define binutils_rpmvers %{expand:%(echo @BINUTILS_VERS@ | tr - _)}
     3
     4%define build_infos @build_infos@
    35
    46Name:           @rpmprefix@@tool_target@-binutils
     
    1113BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
    1214
    13 %if "%{_prefix}" != "/usr"
     15%if %{build_infos}
    1416# Required for building the infos
    1517BuildRequires:  /sbin/install-info
  • contrib/crossrpms/binutils/build.add

    ra56035b r13501927  
    1616
    1717  make all
    18 %if "%{_prefix}" != "/usr"
     18%if %{build_infos}
    1919  make info
    2020%endif
  • contrib/crossrpms/binutils/install.add

    ra56035b r13501927  
    1111    install
    1212
    13 %if "%{_prefix}" != "/usr"
     13%if %{build_infos}
    1414  make prefix=$RPM_BUILD_ROOT%{_prefix} \
    1515    bindir=$RPM_BUILD_ROOT%{_bindir} \
     
    2121%endif
    2222
    23 %if "%{_prefix}" == "/usr"
    24 # Conflict with a native binutils' infos
    25   rm -rf $RPM_BUILD_ROOT%{_infodir}
    26 %else
    27 
     23%if %{build_infos}
    2824# Dropped in FSF-binutils-2.9.5, but Cygwin still ships it.
    2925  rm -rf $RPM_BUILD_ROOT%{_infodir}/configure.info*
     
    3430# binutils does not install share/locale, however it uses it
    3531  mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/locale
     32%else
     33# Conflict with a native binutils' infos
     34  rm -rf $RPM_BUILD_ROOT%{_infodir}
    3635%endif
    3736
  • contrib/crossrpms/gcc/base-g77.add

    ra56035b r13501927  
    1 %if "%{_prefix}" != "/usr"
     1%if %{build_infos}
    22%if %build_g77
    33# ==============================================================
  • contrib/crossrpms/gcc/base-gcc.add

    ra56035b r13501927  
    1 %if "%{_prefix}" != "/usr"
     1%if %{build_infos}
    22# ==============================================================
    33# @rpmprefix@rtems@osversion@-base-gcc
  • contrib/crossrpms/gcc/base-gcj.add

    ra56035b r13501927  
    1 %if "%{_prefix}" != "/usr"
     1%if %{build_infos}
    22%if %build_gcj
    33# ==============================================================
  • contrib/crossrpms/gcc/base-gfortran.add

    ra56035b r13501927  
    1 %if "%{_prefix}" != "/usr"
     1%if %{build_infos}
    22%if %build_f95
    33# ==============================================================
  • contrib/crossrpms/gcc/base-gnat.add

    ra56035b r13501927  
    1 %if "%{_prefix}" != "/usr"
     1%if %{build_infos}
    22%if %build_gnat
    33# ==============================================================
  • contrib/crossrpms/gcc/base-newlib.add

    ra56035b r13501927  
    1 %if "%{_prefix}" != "/usr"
     1%if %{build_infos}
    22%if %build_newlib
    33# ==============================================================
  • contrib/crossrpms/gcc/build.add

    ra56035b r13501927  
    5858
    5959  make all
    60 %if "%{_prefix}" != "/usr"
     60%if %{build_infos}
    6161  make info
    6262%endif
  • contrib/crossrpms/gcc/gccnewlib.add

    ra56035b r13501927  
    55
    66%define build_newlib 1
     7%define build_infos  @build_infos@
    78
    89%if %build_newlib
  • contrib/crossrpms/gcc/install.add

    ra56035b r13501927  
    88
    99  make DESTDIR=$RPM_BUILD_ROOT install
    10   # cd back to build/
    1110  cd ..
    1211
     
    3635%endif
    3736
    38 %if "%{_prefix}" != "/usr"
     37%if %{build_infos}
    3938  # We don't ship info/dir
    4039  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
  • contrib/crossrpms/gdb/base-gdb.add

    ra56035b r13501927  
    1 %if "%{_prefix}" != "/usr"
     1%if %{build_infos}
    22# ==============================================================
    33# rtems-base-gdb
  • contrib/crossrpms/gdb/build.add

    ra56035b r13501927  
    1616
    1717  make all
    18 #%if "%{_prefix}" != "/usr"
     18%if %{build_infos}
    1919  make info
    20 #%endif
     20%endif
    2121  cd ..
    2222
  • contrib/crossrpms/gdb/gdb.add

    ra56035b r13501927  
    11%define gdb_version @GDB_VERS@
    22%define gdb_rpmvers %{expand:%(echo @GDB_VERS@ | tr - _)}
     3
     4%define build_infos @build_infos@
    35
    46Name:           @rpmprefix@@tool_target@-gdb
     
    1113BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
    1214
    13 %if "%{_prefix}" != "/usr"
     15%if %{build_infos}
    1416# Required for building the infos
    1517BuildRequires:  /sbin/install-info
    1618BuildRequires:  texinfo >= 4.2
    1719%endif
    18 BuildRequires:  flex
    19 BuildRequires:  bison
     20BuildRequires:  ncurses-devel
    2021
    2122@SOURCES@
  • contrib/crossrpms/gdb/install.add

    ra56035b r13501927  
    1111    install
    1212
    13 %if "%{_prefix}" != "/usr"
     13%if %{build_infos}
    1414  make prefix=$RPM_BUILD_ROOT%{_prefix} \
    1515    bindir=$RPM_BUILD_ROOT%{_bindir} \
     
    2121%endif
    2222
    23 %if "%{_prefix}" == "/usr"
    24 # Conflict with a native gdb's infos
    25   rm -rf $RPM_BUILD_ROOT%{_infodir}
    26 %else
     23%if %{build_infos}
    2724  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
    2825  touch $RPM_BUILD_ROOT%{_infodir}/dir
     
    3229  rm -rf $RPM_BUILD_ROOT%{_infodir}/configure*
    3330  rm -rf $RPM_BUILD_ROOT%{_infodir}/standards*
     31%else
     32# Conflict with a native gdb's infos
     33  rm -rf $RPM_BUILD_ROOT%{_infodir}
    3434%endif
    3535
Note: See TracChangeset for help on using the changeset viewer.