source: rtems/scripts/cpukit/rtems-cpukit.add @ e93fa77

4.104.114.84.95
Last change on this file since e93fa77 was e93fa77, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/12/05 at 08:31:58

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

  • binutils/target-binutils.add, cpukit/rtems-cpukit.add, gcc3newlib/gccnewlib.add, gdb/gdb.add, rtemsdoc/rtemsdoc.add: Remove Autoreqprov-tag.
  • Property mode set to 100644
File size: 1.9 KB
Line 
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
6Release:      @Release@
7License:      Various, Open Source.
8Group:        %{rpmgroup}
9
10Packager:       corsepiu@faw.uni-ulm.de and joel@OARcorp.com
11BuildPreReq:    %{rpmprefix}%{rtems_target}-binutils
12BuildPreReq:    %{rpmprefix}%{rtems_target}-gcc
13Requires:       %{rpmprefix}%{rtems_target}-binutils
14Requires:       %{rpmprefix}%{rtems_target}-gcc
15
16# These are target libs, arch doesn't matter for the host
17BuildArch:      noarch
18
19Version:      %{rpmvers}
20Summary:      A free operating system for embedded systems
21Source:       rtems-%{rtems_version}.tar.bz2
22
23#
24# The original sources are not included in the source RPM.
25# If we included them, then the source RPMs for each target
26# would duplicate MBs of source unnecessarily.  This is
27# a duplication of over 30 MBs of source for each of
28# the more than 10 targets it is possible to build.
29#
30# You can get them yourself from the Internet and copy them to
31# your /usr/src/redhat/SOURCES directory ($RPM_SOURCE_DIR).
32# Or you can try the ftp options of rpm :-)
33#
34NoSource:      0
35# We claim to be relocatible, but in fact we are not
36Prefix:         %{_prefix}
37
38%description
39RTEMS is a free operating system for embedded systems.
40
41This package contains the cpukit for cpu %{rtems_target}.
42
43Authors:
44--------
45    Joel Sherrill (joel@oarcorp.com)
46    ...
47
48%prep
49%setup -c -T -n %{name}-%{version} -a0
50test -d build || mkdir build
51%build
52cd build
53# rtems does not support building inside the source tree
54  ../rtems-%{rtems_version}/cpukit/configure \
55  --build=`../rtems-%{rtems_version}/config.guess` \
56  --prefix=%{_prefix} \
57  --host=%{rtems_target} --target=%{rtems_target} \
58  --exec-prefix=%{_prefix}/%{rtems_target} \
59  --enable-multilib
60  make RTEMS_BSP=
61%install
62cd build
63  make RTEMS_BSP= DESTDIR=${RPM_BUILD_ROOT} install
64
Note: See TracBrowser for help on using the repository browser.