Changeset 9674bf43 in rtems


Ignore:
Timestamp:
Apr 14, 2005, 10:41:17 AM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
9308d7b
Parents:
27111a79
Message:

2005-04-14 Ralf Corsepius <ralf.corsepius@…>

  • cpukit/rtems-cpukit.add, cpukit/target-cpukit.add: Bring this rpm functional, again.
Location:
scripts
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • scripts/ChangeLog

    r27111a79 r9674bf43  
     12005-04-14      Ralf Corsepius <ralf.corsepius@rtems.org>
     2
     3        * cpukit/rtems-cpukit.add, cpukit/target-cpukit.add: Bring this rpm
     4        functional, again.
     5
    162005-04-13      Ralf Corsepius <ralf.corsepius@rtems.org>
    27
  • scripts/cpukit/rtems-cpukit.add

    r27111a79 r9674bf43  
    99
    1010Packager:       ralf.corsepius@rtems.org and joel@OARcorp.com
    11 BuildPreReq:    %{rpmprefix}%{rtems_target}-binutils
    12 BuildPreReq:    %{rpmprefix}%{rtems_target}-gcc
     11BuildRequires:    %{rpmprefix}%{rtems_target}-binutils
     12BuildRequires:    %{rpmprefix}%{rtems_target}-gcc
     13
    1314Requires:       %{rpmprefix}%{rtems_target}-binutils
    1415Requires:       %{rpmprefix}%{rtems_target}-gcc
     
    3233# Or you can try the ftp options of rpm :-)
    3334#
    34 NoSource:      0
    35 # We claim to be relocatible, but in fact we are not
    36 Prefix:         %{_prefix}
     35%{?!_with_sources:NoSource:      0}
    3736
    3837%description
     
    4342%prep
    4443%setup -c -T -n %{name}-%{version} -a0
    45 test -d build || mkdir build
     44  mkdir -p build
    4645
    4746%build
    48 cd build
    49 # rtems does not support building inside the source tree
    50   ../rtems-%{rtems_version}/cpukit/configure \
    51   --build=`../rtems-%{rtems_version}/config.guess` \
     47  cd build
     48
     49  ../rtems-%{rtems_version}/configure \
    5250  --prefix=%{_prefix} \
    53   --host=%{rtems_target} --target=%{rtems_target} \
    54   --exec-prefix=%{_prefix}/%{rtems_target} \
    55   --enable-multilib
     51  --target=%{rtems_target} \
     52  --enable-multilib \
     53  --disable-rtemsbsp \
     54  --disable-tests \
     55  --disable-deprecated
    5656  make RTEMS_BSP=
    5757
    5858%install
    59 cd build
     59  rm -rf $RPM_BUILD_ROOT
     60
     61  cd build
    6062  make RTEMS_BSP= DESTDIR=${RPM_BUILD_ROOT} install
    6163
     64  # For the moment, we don't want these man pages
     65  rm -rf ${RPM_BUILD_ROOT}%{_prefix}/man
     66
     67  # Obsolete and currently broken
     68  rm -rf ${RPM_BUILD_ROOT}%{_prefix}/make
     69
     70  # host tools
     71  rm -rf ${RPM_BUILD_ROOT}%{_prefix}/bin
  • scripts/cpukit/target-cpukit.add

    r27111a79 r9674bf43  
     1# ==============================================================
     2# @target_alias@-cpukit
     3# ==============================================================
     4# %package -n %{rpmprefix}@target_alias@-cpukit
     5# Summary:      rtems cpukit for @target_alias@
     6# Group:        %{rpmgroup}
     7# Requires:     %{rpmprefix}@target_alias@-gcc
     8
    19%files
    210%{_prefix}/%{rtems_target}
    3 %exclude %{_prefix}/man
Note: See TracChangeset for help on using the changeset viewer.