source: rtems/scripts/rtems/rtems.add @ 0941438

4.104.114.84.95
Last change on this file since 0941438 was 0941438, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/13/05 at 16:13:10

New.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1Name:         rtems-@target_alias@-@bsp@
2Version:      @rtems_version@
3Summary:      A free operating system for embedded systems
4Source:       ftp://ftp.rtems.org/pub/rtems/rtems-%{version}.tar.bz2
5
6#
7# The original sources are not included in the source RPM.
8# If we included them, then the source RPMs for each target
9# would duplicate MBs of source unnecessarily.
10#
11%{?!_with_sources:NoSource:      0}
12
13%description
14RTEMS is a free operating system for embedded systems.
15
16%prep
17# untar the sources inside rtems-@target_alias@-@bsp@-@rtems_version@
18%setup -c -T -n rtems-@target_alias@-@bsp@-@rtems_version@ -a0
19# no patch needed
20# %patch
21
22%build
23# rtems does not support building inside the source tree
24  mkdir -p build
25  cd build
26  ../rtems-@rtems_version@/configure \
27  --target=@target_alias@ \
28  --prefix=%{_prefix}/@target_alias@ \
29  --enable-networking \
30  --enable-posix \
31  --enable-cxx \
32  --disable-tests \
33  --enable-rdbg \
34  --disable-multiprocessing \
35  --disable-itron
36  make RTEMS_BSP=@bsp@
37
38%install
39  rm -rf $RPM_BUILD_ROOT
40  make RTEMS_BSP=@bsp@ DESTDIR=$RPM_BUILD_ROOT install
41
Note: See TracBrowser for help on using the repository browser.