2005-04-20 Ralf Corsepius <ralf.corsepius@rtems.org>

* configure.ac: chmod +x rtems/mkspec.
	* binutils/binutils.add: Remove Prefix.
	Use mkdir -p.
	* cpukit/rtems-cpukit.add: Fix Source URL.
	* rtems/Makefile.am: Append @osversion@ to rules.
	* rtems/rtems.add: Fix Source URL. Misc cosmetics.
This commit is contained in:
Ralf Corsepius
2005-04-20 07:14:16 +00:00
parent d5fe91e9d1
commit b17dd93574
6 changed files with 25 additions and 15 deletions

View File

@@ -1,3 +1,12 @@
2005-04-20 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.ac: chmod +x rtems/mkspec.
* binutils/binutils.add: Remove Prefix.
Use mkdir -p.
* cpukit/rtems-cpukit.add: Fix Source URL.
* rtems/Makefile.am: Append @osversion@ to rules.
* rtems/rtems.add: Fix Source URL. Misc cosmetics.
2005-04-14 Ralf Corsepius <ralf.corsepius@rtems.org>
* gdb/mkspec.in: Remove extra_configure_arguments (Unused).

View File

@@ -9,7 +9,6 @@ Release: @Release@
License: GPL/LGPL
Packager: ralf.corsepius@rtems.org and joel@OARcorp.com
Prefix: %{_prefix}
BuildPreReq: /sbin/install-info
BuildPreReq: texinfo >= 4.2
BuildPreReq: flex
@@ -44,7 +43,7 @@ cd binutils-%{version}
%{?PATCH0:%patch0 -p1}
cd ..
test -d build || mkdir build
mkdir -p build
%build
cd build

View File

@@ -89,7 +89,7 @@ AC_CONFIG_FILES([gdb/mkspec],[chmod +x gdb/mkspec])
AC_CONFIG_FILES([binutils/mkspec],[chmod +x binutils/mkspec])
AC_CONFIG_FILES([gccnewlib/mkspec],[chmod +x gccnewlib/mkspec])
AC_CONFIG_FILES([cpukit/mkspec],[chmod +x cpukit/mkspec])
AC_CONFIG_FILES([rtems/mkspec],[chmod +x mkspec/mkspec])
AC_CONFIG_FILES([rtems/mkspec],[chmod +x rtems/mkspec])
AC_CONFIG_COMMANDS([default],[[chmod 755 buildall
chmod 755 buildalltar

View File

@@ -19,7 +19,7 @@ BuildArch: noarch
Version: %{rpmvers}
Summary: A free operating system for embedded systems
Source: rtems-%{rtems_version}.tar.bz2
Source: ftp://ftp.rtems.org/pub/rtems/%{version}/rtems-%{rtems_version}.tar.bz2
#
# The original sources are not included in the source RPM.

View File

@@ -23,23 +23,23 @@ MKBSPSPEC_DEPS = $(top_builddir)/mkspec rtems.spec.in \
$(top_builddir)/setup.cache
i386-rtems-pc386-$(BSPVERS).spec: $(MKBSPSPEC_DEPS)
$(MKBSPSPEC) -cfg $(top_builddir)/setup.cache -o . i386-rtems pc386
$(MKBSPSPEC) -cfg $(top_builddir)/setup.cache -o . i386-rtems@osversion@ pc386
RPM_SPECS_DATA += i386-rtems-pc386-$(BSPVERS).spec
m68k-rtems-gen68360-$(BSPVERS).spec: $(MKBSPSPEC_DEPS)
$(MKBSPSPEC) -cfg $(top_builddir)/setup.cache -o . m68k-rtems gen68360
$(MKBSPSPEC) -cfg $(top_builddir)/setup.cache -o . m68k-rtems@osversion@ gen68360
RPM_SPECS_DATA += m68k-rtems-gen68360-$(BSPVERS).spec
powerpc-rtems-mcp750-$(BSPVERS).spec: $(MKBSPSPEC_DEPS)
$(MKBSPSPEC) -cfg $(top_builddir)/setup.cache -o . powerpc-rtems mcp750
$(MKBSPSPEC) -cfg $(top_builddir)/setup.cache -o . powerpc-rtems@osversion@ mcp750
RPM_SPECS_DATA += powerpc-rtems-mcp750-$(BSPVERS).spec
sh-rtems-gensh1-$(BSPVERS).spec: $(MKBSPSPEC_DEPS)
$(MKBSPSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtems gensh1
$(MKBSPSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtems@osversion@ gensh1
RPM_SPECS_DATA += sh-rtems-gensh1-$(BSPVERS).spec
sparc-rtems-erc32-$(BSPVERS).spec: $(MKBSPSPEC_DEPS)
$(MKBSPSPEC) -cfg $(top_builddir)/setup.cache -o . sparc-rtems erc32
$(MKBSPSPEC) -cfg $(top_builddir)/setup.cache -o . sparc-rtems@osversion@ erc32
RPM_SPECS_DATA += sparc-rtems-erc32-$(BSPVERS).spec
CLEANFILES += $(RPM_SPECS_DATA)

View File

@@ -1,7 +1,11 @@
Name: rtems-@target_alias@-@bsp@
Version: @rtems_version@
Summary: A free operating system for embedded systems
Source: ftp://ftp.rtems.org/pub/rtems/rtems-%{version}.tar.bz2
Name: rtems-@target_alias@-@bsp@
Summary: A free operating system for embedded systems
Group: %{rpmgroup}
Release: @Release@
License: Distributable
Version: @rtems_version@
Source: ftp://ftp.rtems.org/pub/rtems/%{version}/rtems-%{version}.tar.bz2
#
# The original sources are not included in the source RPM.
@@ -16,8 +20,6 @@ RTEMS is a free operating system for embedded systems.
%prep
# untar the sources inside rtems-@target_alias@-@bsp@-@rtems_version@
%setup -c -T -n rtems-@target_alias@-@bsp@-@rtems_version@ -a0
# no patch needed
# %patch
%build
# rtems does not support building inside the source tree