mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2005-04-14 Ralf Corsepius <ralf.corsepius@rtems.org>
* cpukit/rtems-cpukit.add, cpukit/target-cpukit.add: Bring this rpm functional, again.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2005-04-14 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* cpukit/rtems-cpukit.add, cpukit/target-cpukit.add: Bring this rpm
|
||||||
|
functional, again.
|
||||||
|
|
||||||
2005-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
|
2005-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* rtems/Makefile.am: Reworked.
|
* rtems/Makefile.am: Reworked.
|
||||||
|
|||||||
@@ -8,8 +8,9 @@ License: Various, Open Source.
|
|||||||
Group: %{rpmgroup}
|
Group: %{rpmgroup}
|
||||||
|
|
||||||
Packager: ralf.corsepius@rtems.org and joel@OARcorp.com
|
Packager: ralf.corsepius@rtems.org and joel@OARcorp.com
|
||||||
BuildPreReq: %{rpmprefix}%{rtems_target}-binutils
|
BuildRequires: %{rpmprefix}%{rtems_target}-binutils
|
||||||
BuildPreReq: %{rpmprefix}%{rtems_target}-gcc
|
BuildRequires: %{rpmprefix}%{rtems_target}-gcc
|
||||||
|
|
||||||
Requires: %{rpmprefix}%{rtems_target}-binutils
|
Requires: %{rpmprefix}%{rtems_target}-binutils
|
||||||
Requires: %{rpmprefix}%{rtems_target}-gcc
|
Requires: %{rpmprefix}%{rtems_target}-gcc
|
||||||
|
|
||||||
@@ -31,9 +32,7 @@ Source: rtems-%{rtems_version}.tar.bz2
|
|||||||
# your /usr/src/redhat/SOURCES directory ($RPM_SOURCE_DIR).
|
# your /usr/src/redhat/SOURCES directory ($RPM_SOURCE_DIR).
|
||||||
# Or you can try the ftp options of rpm :-)
|
# Or you can try the ftp options of rpm :-)
|
||||||
#
|
#
|
||||||
NoSource: 0
|
%{?!_with_sources:NoSource: 0}
|
||||||
# We claim to be relocatible, but in fact we are not
|
|
||||||
Prefix: %{_prefix}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
RTEMS is a free operating system for embedded systems.
|
RTEMS is a free operating system for embedded systems.
|
||||||
@@ -42,20 +41,31 @@ This package contains the cpukit for cpu %{rtems_target}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -c -T -n %{name}-%{version} -a0
|
%setup -c -T -n %{name}-%{version} -a0
|
||||||
test -d build || mkdir build
|
mkdir -p build
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cd build
|
cd build
|
||||||
# rtems does not support building inside the source tree
|
|
||||||
../rtems-%{rtems_version}/cpukit/configure \
|
../rtems-%{rtems_version}/configure \
|
||||||
--build=`../rtems-%{rtems_version}/config.guess` \
|
|
||||||
--prefix=%{_prefix} \
|
--prefix=%{_prefix} \
|
||||||
--host=%{rtems_target} --target=%{rtems_target} \
|
--target=%{rtems_target} \
|
||||||
--exec-prefix=%{_prefix}/%{rtems_target} \
|
--enable-multilib \
|
||||||
--enable-multilib
|
--disable-rtemsbsp \
|
||||||
|
--disable-tests \
|
||||||
|
--disable-deprecated
|
||||||
make RTEMS_BSP=
|
make RTEMS_BSP=
|
||||||
|
|
||||||
%install
|
%install
|
||||||
cd build
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
cd build
|
||||||
make RTEMS_BSP= DESTDIR=${RPM_BUILD_ROOT} install
|
make RTEMS_BSP= DESTDIR=${RPM_BUILD_ROOT} install
|
||||||
|
|
||||||
|
# For the moment, we don't want these man pages
|
||||||
|
rm -rf ${RPM_BUILD_ROOT}%{_prefix}/man
|
||||||
|
|
||||||
|
# Obsolete and currently broken
|
||||||
|
rm -rf ${RPM_BUILD_ROOT}%{_prefix}/make
|
||||||
|
|
||||||
|
# host tools
|
||||||
|
rm -rf ${RPM_BUILD_ROOT}%{_prefix}/bin
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
# ==============================================================
|
||||||
|
# @target_alias@-cpukit
|
||||||
|
# ==============================================================
|
||||||
|
# %package -n %{rpmprefix}@target_alias@-cpukit
|
||||||
|
# Summary: rtems cpukit for @target_alias@
|
||||||
|
# Group: %{rpmgroup}
|
||||||
|
# Requires: %{rpmprefix}@target_alias@-gcc
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_prefix}/%{rtems_target}
|
%{_prefix}/%{rtems_target}
|
||||||
%exclude %{_prefix}/man
|
|
||||||
Reference in New Issue
Block a user