Changeset 2cfb2387 in rtems


Ignore:
Timestamp:
Jan 22, 2002, 6:00:08 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
cbc4e6fa
Parents:
b0f78e8
Message:

2002-01-22 Ralf Corsepius <corsepiu@…>

  • binutils/binutils.add: Add initial support for building Canadian cross RPMs. It should work like this:

cd rtems/scripts
./configure --build=../config.guess --host=i386-cygwin
make install
rpm --target=i386-cygwin \

/usr/src/redhat/SPECS/<target>-binutils-..spec.

alien -t /usr/src/redhat/RPMS/....i386.rpm

.. and voila ... your tarball, with rpm-consistency checks etc. applied.

Location:
scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • scripts/ChangeLog

    rb0f78e8 r2cfb2387  
     12002-01-22      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * binutils/binutils.add: Add initial support for building
     4        Canadian cross RPMs.  It should work like this:
     5            cd rtems/scripts
     6            ./configure --build=`../config.guess` --host=i386-cygwin
     7            make install
     8            rpm --target=i386-cygwin \
     9                /usr/src/redhat/SPECS/<target>-binutils-..spec.
     10
     11            alien -t /usr/src/redhat/RPMS/....i386.rpm
     12        .. and voila ... your tarball, with rpm-consistency checks etc. applied.
     13
    1142001-01-22      Joel Sherrill <joel@OARcorp.com>
    215
  • scripts/binutils/binutils.add

    rb0f78e8 r2cfb2387  
    1818Packager:       corsepiu@faw.uni-ulm.de and joel@OARcorp.com
    1919Prefix:         /opt
    20 BuildRoot:      /tmp/@target_alias@-binutils
     20BuildRoot:      %{_tmppath}/@target_alias@-binutils
    2121
    2222Version:        @binutils_version@
     
    5151%build
    5252  cd build
    53   ../binutils-@binutils_version@/configure --target=@target_alias@ \
     53# Ugly hack to work around a bug in SuSE's rpm
     54%if "${_build_cpu}-%{_build_os}" != "%{_target_cpu}-%{_target_os}"
     55  ARGS="--build=%{_build} --host=%{_target}"   
     56%endif
     57  ../binutils-@binutils_version@/configure $ARGS --target=@target_alias@ \
    5458    --verbose --prefix=/opt/rtems
    5559
     
    8993%clean
    9094# let rpm --clean remove BuildRoot iif using the default BuildRoot
    91   test "$RPM_BUILD_ROOT" = "/tmp/@target_alias@-binutils" && \
     95  test "$RPM_BUILD_ROOT" = "%{_tmppath}/@target_alias@-binutils" && \
    9296    rm -rf $RPM_BUILD_ROOT
    9397
Note: See TracChangeset for help on using the changeset viewer.