Changeset 06e70cd in rtems for scripts/cpukit/rtems-cpukit.add


Ignore:
Timestamp:
Oct 7, 2003, 8:53:29 AM (18 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
67113c7
Parents:
869ffd9b
Message:

2003-10-07 Ralf Corsepius <corsepiu@…>

  • cpukit/target-cpukit.add: New.
  • cpukit/Makefile.am: Reflect having added target-cpukit.add. Acknowledge osversion.
  • cpukit/mkspec.in: Acknowledge osversion and rpmgroup.
  • cpukit/rtems-cpukit.add: Reflect new RTEMS spec conventions.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/cpukit/rtems-cpukit.add

    r869ffd9b r06e70cd  
    1 Name:         @target_alias@-cpukit
     1%define rtems_version @rtems_version@
     2%define rtems_target  @target_alias@
     3%define rpmvers %{expand: %%(echo %rtems_version | tr - _ )}
     4
     5Name:         %{rpmprefix}@target_alias@-cpukit
    26Release:      @Release@
    37License:      Various, Open Source.
    4 Group:        rtems
     8Group:        %{rpmgroup}
    59
    610Autoreqprov:  on
    711Packager:       corsepiu@faw.uni-ulm.de and joel@OARcorp.com
    8 BuildPreReq:    @target_alias@-binutils
    9 BuildPreReq:    @target_alias@-gcc
    10 Requires:       @target_alias@-binutils
    11 Requires:       @target_alias@-gcc
     12BuildPreReq:    %{rpmprefix}%{rtems_target}-binutils
     13BuildPreReq:    %{rpmprefix}%{rtems_target}-gcc
     14Requires:       %{rpmprefix}%{rtems_target}-binutils
     15Requires:       %{rpmprefix}%{rtems_target}-gcc
    1216
    13 Version:      @rpm_version@
     17# These are target libs, arch doesn't matter for the host
     18BuildArch:      noarch
     19
     20Version:      %{rpmvers}
    1421Summary:      A free operating system for embedded systems
    15 Source:       rtems-@rtems_version@.tar.gz
     22Source:       rtems-%{rtems_version}.tar.bz2
    1623
    1724#
     
    3340RTEMS is a free operating system for embedded systems.
    3441
    35 This package contains the cpukit for cpu @target_alias@.
     42This package contains the cpukit for cpu %{rtems_target}.
    3643
    3744Authors:
     
    4653cd build
    4754# rtems does not support building inside the source tree
    48   ../rtems-@rtems_version@/cpukit/configure \
    49   --build=`../rtems-@rtems_version@/config.guess` \
     55  ../rtems-%{rtems_version}/cpukit/configure \
     56  --build=`../rtems-%{rtems_version}/config.guess` \
    5057  --prefix=%{_prefix} \
    51   --host=@target_alias@ --target=@target_alias@ \
    52   --exec-prefix=%{_prefix}/@target_alias@ \
     58  --host=%{rtems_target} --target=%{rtems_target} \
     59  --exec-prefix=%{_prefix}/%{rtems_target} \
    5360  --enable-multilib
    5461  make RTEMS_BSP=
     
    5764  make RTEMS_BSP= DESTDIR=${RPM_BUILD_ROOT} install
    5865
    59 %files
    60 %{_prefix}/@target_alias@
    61 # ignore
    62 # %{_mandir}
Note: See TracChangeset for help on using the changeset viewer.