diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-09-28 07:24:56 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-09-28 07:24:56 +0000 |
commit | ed73806be6bfb1ae0544ca94f4da39eaf2654a92 (patch) | |
tree | e646c217bac80b2078190e0116a87ab06077baa7 | |
parent | rtems-4.9. (diff) | |
download | rtems-ed73806be6bfb1ae0544ca94f4da39eaf2654a92.tar.bz2 |
copy from rtems-4.8 to rtems-4.9.
Diffstat (limited to '')
77 files changed, 1375 insertions, 0 deletions
diff --git a/contrib/crossrpms/rtems4.9/.cvsignore b/contrib/crossrpms/rtems4.9/.cvsignore new file mode 100644 index 0000000000..282522db03 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/.cvsignore @@ -0,0 +1,2 @@ +Makefile +Makefile.in diff --git a/contrib/crossrpms/rtems4.9/Makefile.am b/contrib/crossrpms/rtems4.9/Makefile.am new file mode 100644 index 0000000000..98c07c122f --- /dev/null +++ b/contrib/crossrpms/rtems4.9/Makefile.am @@ -0,0 +1,15 @@ +# $Id$ + +SUBDIRS = +SUBDIRS += arm +SUBDIRS += avr +SUBDIRS += bfin +SUBDIRS += h8300 +SUBDIRS += i386 +SUBDIRS += m68k +SUBDIRS += mips +SUBDIRS += mipstx39 +SUBDIRS += powerpc +SUBDIRS += sh +SUBDIRS += sparc +SUBDIRS += tic4x diff --git a/contrib/crossrpms/rtems4.9/arm/.cvsignore b/contrib/crossrpms/rtems4.9/arm/.cvsignore new file mode 100644 index 0000000000..c3dcdce8bd --- /dev/null +++ b/contrib/crossrpms/rtems4.9/arm/.cvsignore @@ -0,0 +1,4 @@ +Makefile +Makefile.in +*.spec +*.spec.in diff --git a/contrib/crossrpms/rtems4.9/arm/Makefile.am b/contrib/crossrpms/rtems4.9/arm/Makefile.am new file mode 100644 index 0000000000..59bc9775e3 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/arm/Makefile.am @@ -0,0 +1,30 @@ +# $Id$ + +TARGET = arm-rtems4.9 + +include $(top_srcdir)/mkspec.am + +BINUTILS_VERS = 2.18 +BINUTILS_PKGVERS = $(BINUTILS_VERS) +BINUTILS_RPMREL = 1%{?dist} +include ../binutils.am +BINUTILS_OPTS += + +GCC_VERS = 4.2.1 +GCC_PKGVERS = $(GCC_VERS) +GCC_RPMREL = 23%{?dist} +NEWLIB_VERS = 1.15.0 +include ../gcc.am +GCC_OPTS += --languages=cxx + +GDB_VERS = 6.6 +GDB_PKGVERS = $(GDB_VERS) +GDB_RPMREL = 9%{?dist} +include ../gdb.am +GDB_OPTS += + +CPUKIT_VERS = 4.7.99.1 +CPUKIT_PKGVERS = $(CPUKIT_VERS)-20070510 +CPUKIT_RPMREL = 0 +include ../cpukit.am +CPUKIT_OPTS += diff --git a/contrib/crossrpms/rtems4.9/arm/binutils-sources.add b/contrib/crossrpms/rtems4.9/arm/binutils-sources.add new file mode 100644 index 0000000000..ed7cddc3ef --- /dev/null +++ b/contrib/crossrpms/rtems4.9/arm/binutils-sources.add @@ -0,0 +1,8 @@ +Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 0} +%if "%{binutils_version}" == "2.17" +Patch0: binutils-2.17-rtems4.8-20061021.diff +%endif +%if "%{binutils_version}" == "2.17.90" +Patch0: binutils-2.17.90-rtems4.8-20070807.diff +%endif diff --git a/contrib/crossrpms/rtems4.9/arm/cpukit-sources.add b/contrib/crossrpms/rtems4.9/arm/cpukit-sources.add new file mode 100644 index 0000000000..763e672840 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/arm/cpukit-sources.add @@ -0,0 +1,2 @@ +Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/rtems-%{cpukit_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 0} diff --git a/contrib/crossrpms/rtems4.9/arm/gcc-sources.add b/contrib/crossrpms/rtems4.9/arm/gcc-sources.add new file mode 100644 index 0000000000..33691e2813 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/arm/gcc-sources.add @@ -0,0 +1,54 @@ +%if "%{gcc_version}" == "4.0.3" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.0.3-rtems-20060822.diff +%endif +%if "%{gcc_version}" == "4.1.1" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.1.1-rtems4.8-20070201.diff +%endif +%if "%{gcc_version}" == "4.1.2" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.1.2-rtems4.8-20070613.diff +%endif +%if "%{gcc_version}" == "4.2.0" +Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-%{gcc_pkgvers}-rtems4.8-20070613.diff +%endif +%if "%{gcc_version}" == "4.2.1" +Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.2.1-rtems4.8-20070804.diff +%endif +%{?_without_sources:NoSource: 0} + +%if %build_cxx +Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 1} + +%endif +%if %build_f95 +Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 2} + +%endif +%if %build_gcj +Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 3} + +%endif +%if %build_gnat +Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 4} + +%endif +%if %build_objc +Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 5} + +%endif +%if %build_newlib +Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz +%if "%{newlib_version}" == "1.15.0" +Patch50: newlib-1.15.0-rtems4.8-20070804.diff +%endif +%{?_without_sources:NoSource: 50} +%endif diff --git a/contrib/crossrpms/rtems4.9/arm/gdb-sources.add b/contrib/crossrpms/rtems4.9/arm/gdb-sources.add new file mode 100644 index 0000000000..c302fca3d3 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/arm/gdb-sources.add @@ -0,0 +1,8 @@ +Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2 +%{?_without_sources:NoSource: 0} +%if "%{gdb_version}" == "6.5" +Patch0: gdb-6.5-rtems-20060713.diff +%endif +%if "%{gdb_version}" == "6.6" +Patch0: gdb-6.6-rtems4.8-20070306.diff +%endif diff --git a/contrib/crossrpms/rtems4.9/avr/.cvsignore b/contrib/crossrpms/rtems4.9/avr/.cvsignore new file mode 100644 index 0000000000..c3dcdce8bd --- /dev/null +++ b/contrib/crossrpms/rtems4.9/avr/.cvsignore @@ -0,0 +1,4 @@ +Makefile +Makefile.in +*.spec +*.spec.in diff --git a/contrib/crossrpms/rtems4.9/avr/Makefile.am b/contrib/crossrpms/rtems4.9/avr/Makefile.am new file mode 100644 index 0000000000..c60d3d0806 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/avr/Makefile.am @@ -0,0 +1,29 @@ +# $Id$ + +TARGET = avr-rtems4.9 + +include $(top_srcdir)/mkspec.am + +BINUTILS_VERS = 2.18 +BINUTILS_PKGVERS = $(BINUTILS_VERS) +BINUTILS_RPMREL = 1%{?dist} +include ../binutils.am +BINUTILS_OPTS += + +GCC_VERS = 4.0.3 +GCC_PKGVERS = $(GCC_VERS) +GCC_RPMREL = 12%{?dist} +NEWLIB_VERS = 1.15.0 +include ../gcc.am + +GDB_VERS = 6.6 +GDB_PKGVERS = $(GDB_VERS) +GDB_RPMREL = 9%{?dist} +include ../gdb.am +GDB_OPTS += + +CPUKIT_VERS = 4.7.99.1 +CPUKIT_PKGVERS = $(CPUKIT_VERS)-20070510 +CPUKIT_RPMREL = 0 +include ../cpukit.am +CPUKIT_OPTS += diff --git a/contrib/crossrpms/rtems4.9/avr/binutils-sources.add b/contrib/crossrpms/rtems4.9/avr/binutils-sources.add new file mode 100644 index 0000000000..ed7cddc3ef --- /dev/null +++ b/contrib/crossrpms/rtems4.9/avr/binutils-sources.add @@ -0,0 +1,8 @@ +Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 0} +%if "%{binutils_version}" == "2.17" +Patch0: binutils-2.17-rtems4.8-20061021.diff +%endif +%if "%{binutils_version}" == "2.17.90" +Patch0: binutils-2.17.90-rtems4.8-20070807.diff +%endif diff --git a/contrib/crossrpms/rtems4.9/avr/cpukit-sources.add b/contrib/crossrpms/rtems4.9/avr/cpukit-sources.add new file mode 100644 index 0000000000..763e672840 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/avr/cpukit-sources.add @@ -0,0 +1,2 @@ +Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/rtems-%{cpukit_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 0} diff --git a/contrib/crossrpms/rtems4.9/avr/gcc-sources.add b/contrib/crossrpms/rtems4.9/avr/gcc-sources.add new file mode 100644 index 0000000000..d7309a9169 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/avr/gcc-sources.add @@ -0,0 +1,57 @@ +%if "%{gcc_version}" == "3.4.6" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-3.4.6/gcc-core-%{gcc_pkgvers}.tar.bz2 +%endif +%if "%{gcc_version}" == "4.0.3" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.0.3-rtems-20060822.diff +%endif +%if "%{gcc_version}" == "4.1.1" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.1.1-rtems4.8-20070201.diff +%endif +%if "%{gcc_version}" == "4.1.2" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.1.2-rtems4.8-20070613.diff +%endif +%if "%{gcc_version}" == "4.2.0" +Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-%{gcc_pkgvers}-rtems4.8-20070613.diff +%endif +%if "%{gcc_version}" == "4.2.1" +Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.2.1-rtems4.8-20070804.diff +%endif +%{?_without_sources:NoSource: 0} + +%if %build_cxx +Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 1} + +%endif +%if %build_f95 +Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 2} + +%endif +%if %build_gcj +Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 3} + +%endif +%if %build_gnat +Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 4} + +%endif +%if %build_objc +Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 5} + +%endif +%if %build_newlib +Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz +%if "%{newlib_version}" == "1.15.0" +Patch50: newlib-1.15.0-rtems4.8-20070804.diff +%endif +%{?_without_sources:NoSource: 50} +%endif diff --git a/contrib/crossrpms/rtems4.9/avr/gdb-sources.add b/contrib/crossrpms/rtems4.9/avr/gdb-sources.add new file mode 100644 index 0000000000..c302fca3d3 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/avr/gdb-sources.add @@ -0,0 +1,8 @@ +Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2 +%{?_without_sources:NoSource: 0} +%if "%{gdb_version}" == "6.5" +Patch0: gdb-6.5-rtems-20060713.diff +%endif +%if "%{gdb_version}" == "6.6" +Patch0: gdb-6.6-rtems4.8-20070306.diff +%endif diff --git a/contrib/crossrpms/rtems4.9/bfin/.cvsignore b/contrib/crossrpms/rtems4.9/bfin/.cvsignore new file mode 100644 index 0000000000..c3dcdce8bd --- /dev/null +++ b/contrib/crossrpms/rtems4.9/bfin/.cvsignore @@ -0,0 +1,4 @@ +Makefile +Makefile.in +*.spec +*.spec.in diff --git a/contrib/crossrpms/rtems4.9/bfin/Makefile.am b/contrib/crossrpms/rtems4.9/bfin/Makefile.am new file mode 100644 index 0000000000..6225e33593 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/bfin/Makefile.am @@ -0,0 +1,30 @@ +# $Id$ + +TARGET = bfin-rtems4.9 + +include $(top_srcdir)/mkspec.am + +BINUTILS_VERS = 2.18 +BINUTILS_PKGVERS = $(BINUTILS_VERS) +BINUTILS_RPMREL = 1%{?dist} +include ../binutils.am +BINUTILS_OPTS += + +GCC_VERS = 4.2.1 +GCC_PKGVERS = $(GCC_VERS) +GCC_RPMREL = 23%{?dist} +NEWLIB_VERS = 1.15.0 +include ../gcc.am + +GDB_VERS = 6.5 +GDB_PKGVERS = $(GDB_VERS) +GDB_RPMREL = 2%{?dist} +include ../gdb.am +GDB_OPTS += + +### bfin's GCC is too broken to be usable +## CPUKIT_VERS = 4.7.99.1 +## CPUKIT_PKGVERS = $(CPUKIT_VERS)-20070510 +## CPUKIT_RPMREL = 0 +## include ../cpukit.am +## CPUKIT_OPTS += diff --git a/contrib/crossrpms/rtems4.9/bfin/binutils-sources.add b/contrib/crossrpms/rtems4.9/bfin/binutils-sources.add new file mode 100644 index 0000000000..ed7cddc3ef --- /dev/null +++ b/contrib/crossrpms/rtems4.9/bfin/binutils-sources.add @@ -0,0 +1,8 @@ +Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 0} +%if "%{binutils_version}" == "2.17" +Patch0: binutils-2.17-rtems4.8-20061021.diff +%endif +%if "%{binutils_version}" == "2.17.90" +Patch0: binutils-2.17.90-rtems4.8-20070807.diff +%endif diff --git a/contrib/crossrpms/rtems4.9/bfin/cpukit-sources.add b/contrib/crossrpms/rtems4.9/bfin/cpukit-sources.add new file mode 100644 index 0000000000..763e672840 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/bfin/cpukit-sources.add @@ -0,0 +1,2 @@ +Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/rtems-%{cpukit_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 0} diff --git a/contrib/crossrpms/rtems4.9/bfin/gcc-sources.add b/contrib/crossrpms/rtems4.9/bfin/gcc-sources.add new file mode 100644 index 0000000000..33691e2813 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/bfin/gcc-sources.add @@ -0,0 +1,54 @@ +%if "%{gcc_version}" == "4.0.3" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.0.3-rtems-20060822.diff +%endif +%if "%{gcc_version}" == "4.1.1" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.1.1-rtems4.8-20070201.diff +%endif +%if "%{gcc_version}" == "4.1.2" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.1.2-rtems4.8-20070613.diff +%endif +%if "%{gcc_version}" == "4.2.0" +Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-%{gcc_pkgvers}-rtems4.8-20070613.diff +%endif +%if "%{gcc_version}" == "4.2.1" +Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.2.1-rtems4.8-20070804.diff +%endif +%{?_without_sources:NoSource: 0} + +%if %build_cxx +Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 1} + +%endif +%if %build_f95 +Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 2} + +%endif +%if %build_gcj +Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 3} + +%endif +%if %build_gnat +Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 4} + +%endif +%if %build_objc +Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 5} + +%endif +%if %build_newlib +Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz +%if "%{newlib_version}" == "1.15.0" +Patch50: newlib-1.15.0-rtems4.8-20070804.diff +%endif +%{?_without_sources:NoSource: 50} +%endif diff --git a/contrib/crossrpms/rtems4.9/bfin/gdb-sources.add b/contrib/crossrpms/rtems4.9/bfin/gdb-sources.add new file mode 100644 index 0000000000..9b912a2ad2 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/bfin/gdb-sources.add @@ -0,0 +1,3 @@ +Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2 +%{?_without_sources:NoSource: 0} +Patch0: gdb-6.5-bfinrtems-20060810a.diff diff --git a/contrib/crossrpms/rtems4.9/binutils.am b/contrib/crossrpms/rtems4.9/binutils.am new file mode 100644 index 0000000000..bf0539e77f --- /dev/null +++ b/contrib/crossrpms/rtems4.9/binutils.am @@ -0,0 +1,31 @@ +EXTRA_DIST += binutils-sources.add + +BINUTILS_OPTS = + +BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add +BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/binutils.add +BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/prep.add +BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/build.add +BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/install.add +BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/rpm-install.add +BINUTILS_SUBPACKAGES += $(top_srcdir)/common/clean.add +BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/target-binutils.add +BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/base-binutils.add + +$(TARGET)-binutils.spec.in: $(BINUTILS_SUBPACKAGES) Makefile.am $(srcdir)/binutils-sources.add + cat $(BINUTILS_SUBPACKAGES) | sed \ + -e "/[@]SOURCES[@]/r $(srcdir)/binutils-sources.add" \ + -e "/[@]SOURCES[@]/d" \ + -e "s/[@]BINUTILS_VERS[@]/$(BINUTILS_VERS)/g" \ + -e "s/[@]BINUTILS_PKGVERS[@]/$(BINUTILS_PKGVERS)/g" \ + -e "s/[@]BINUTILS_RPMREL[@]/$(BINUTILS_RPMREL)/g" \ + -e "/--with-sysroot/d" \ + | $(MKSPEC0) > $(TARGET)-binutils.spec.in +CLEANFILES += $(TARGET)-binutils.spec.in + +@rpmprefix@$(TARGET)-binutils.spec: $(TARGET)-binutils.spec.in + $(MKSPEC) $(TARGET)-binutils.spec.in | $(SPECSTRIP) $(BINUTILS_OPTS) > $@ +CLEANFILES += @rpmprefix@$(TARGET)-binutils.spec +noinst_DATA += @rpmprefix@$(TARGET)-binutils.spec + +EXTRA_DIST += $(BINUTILS_SUBPACKAGES) diff --git a/contrib/crossrpms/rtems4.9/cpukit-prep.add b/contrib/crossrpms/rtems4.9/cpukit-prep.add new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/cpukit-prep.add @@ -0,0 +1 @@ + diff --git a/contrib/crossrpms/rtems4.9/cpukit.am b/contrib/crossrpms/rtems4.9/cpukit.am new file mode 100644 index 0000000000..10d411487f --- /dev/null +++ b/contrib/crossrpms/rtems4.9/cpukit.am @@ -0,0 +1,35 @@ +EXTRA_DIST += $(srcdir)/../rtems-prep.add +EXTRA_DIST += $(srcdir)/rtems-sources.add + +CPUKIT_OPTS = + +CPUKIT_SUBPACKAGES = $(top_srcdir)/common/common.add +CPUKIT_SUBPACKAGES += $(top_srcdir)/cpukit/cpukit.add +CPUKIT_SUBPACKAGES += $(top_srcdir)/cpukit/prep.add +CPUKIT_SUBPACKAGES += $(top_srcdir)/cpukit/build.add +CPUKIT_SUBPACKAGES += $(top_srcdir)/cpukit/install.add +CPUKIT_SUBPACKAGES += $(top_srcdir)/cpukit/rpm-install.add +CPUKIT_SUBPACKAGES += $(top_srcdir)/common/clean.add +CPUKIT_SUBPACKAGES += $(top_srcdir)/cpukit/target-cpukit.add + +$(TARGET)-cpukit.spec.in: $(CPUKIT_SUBPACKAGES) Makefile.am $(srcdir)/cpukit-sources.add $(srcdir)/../cpukit-prep.add + cat $(CPUKIT_SUBPACKAGES) | sed \ + -e "/[@]SOURCES[@]/r $(srcdir)/cpukit-sources.add" \ + -e "/[@]SOURCES[@]/d" \ + -e "/[@]PREP[@]/r $(srcdir)/../cpukit-prep.add" \ + -e "/[@]PREP[@]/d" \ + -e "s/[@]CPUKIT_VERS[@]/$(CPUKIT_VERS)/g" \ + -e "s/[@]CPUKIT_PKGVERS[@]/$(CPUKIT_PKGVERS)/g" \ + -e "s/[@]CPUKIT_RPMREL[@]/$(CPUKIT_RPMREL)/g" \ + -e "/--with-sysroot/d" \ + -e "/[@]tool_target[@]-sys-root/d" \ + -e "/[@]tool_target[@]-w32api-sys-root/d" \ + | $(MKSPEC0) > $(TARGET)-cpukit.spec.in +CLEANFILES += $(TARGET)-cpukit.spec.in + +@rpmprefix@$(TARGET)-cpukit.spec: $(TARGET)-cpukit.spec.in + $(MKSPEC) $(TARGET)-cpukit.spec.in | $(SPECSTRIP) $(CPUKIT_OPTS) > $@ +CLEANFILES += @rpmprefix@$(TARGET)-cpukit.spec +noinst_DATA += @rpmprefix@$(TARGET)-cpukit.spec + +EXTRA_DIST += $(CPUKIT_SUBPACKAGES) diff --git a/contrib/crossrpms/rtems4.9/gcc-prep.add b/contrib/crossrpms/rtems4.9/gcc-prep.add new file mode 100644 index 0000000000..cf884402aa --- /dev/null +++ b/contrib/crossrpms/rtems4.9/gcc-prep.add @@ -0,0 +1,9 @@ +%if "%{gcc_version}" < "4.1.0" + sed -e 's/\(version_string.* = \"[^\"]*\)/\1 (RTEMS gcc-%{gcc_version}\/newlib-%{newlib_version}-%release)/' \ + gcc-%{gcc_pkgvers}/gcc/version.c > gcc-%{gcc_pkgvers}/gcc/version.c~ +%else + sed -e 's/^#define VERSUFFIX.*$/#define VERSUFFIX \" (RTEMS gcc-%{gcc_version}\/newlib-%{newlib_version}-%{release})\"/' \ + gcc-%{gcc_pkgvers}/gcc/version.c > gcc-%{gcc_pkgvers}/gcc/version.c~ +%endif + mv gcc-%{gcc_pkgvers}/gcc/version.c~ gcc-%{gcc_pkgvers}/gcc/version.c + diff --git a/contrib/crossrpms/rtems4.9/gcc.am b/contrib/crossrpms/rtems4.9/gcc.am new file mode 100644 index 0000000000..887941f135 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/gcc.am @@ -0,0 +1,43 @@ +EXTRA_DIST += $(srcdir)/../gcc-prep.add +EXTRA_DIST += $(srcdir)/gcc-sources.add + +GCC_OPTS = --languages=c --newlib + +GCC_SUBPACKAGES = $(top_srcdir)/common/common.add +GCC_SUBPACKAGES += $(top_srcdir)/gcc/gccnewlib.add +GCC_SUBPACKAGES += $(top_srcdir)/gcc/prep.add +GCC_SUBPACKAGES += $(top_srcdir)/gcc/build.add +GCC_SUBPACKAGES += $(top_srcdir)/gcc/install.add +GCC_SUBPACKAGES += $(top_srcdir)/gcc/rpm-install.add +GCC_SUBPACKAGES += $(top_srcdir)/common/clean.add +GCC_SUBPACKAGES += $(top_srcdir)/gcc/target-gcc.add +GCC_SUBPACKAGES += $(top_srcdir)/gcc/base-gcc.add +GCC_SUBPACKAGES += $(top_srcdir)/gcc/target-c++.add +GCC_SUBPACKAGES += $(top_srcdir)/gcc/target-gfortran.add +GCC_SUBPACKAGES += $(top_srcdir)/gcc/base-gfortran.add +GCC_SUBPACKAGES += $(top_srcdir)/gcc/target-objc.add +GCC_SUBPACKAGES += $(top_srcdir)/gcc/target-newlib.add +GCC_SUBPACKAGES += $(top_srcdir)/gcc/base-newlib.add + +$(TARGET)-gcc.spec.in: $(GCC_SUBPACKAGES) Makefile.am $(srcdir)/gcc-sources.add $(srcdir)/../gcc-prep.add + cat $(GCC_SUBPACKAGES) | sed \ + -e "/[@]SOURCES[@]/r $(srcdir)/gcc-sources.add" \ + -e "/[@]SOURCES[@]/d" \ + -e "/[@]PREP[@]/r $(srcdir)/../gcc-prep.add" \ + -e "/[@]PREP[@]/d" \ + -e "s/[@]GCC_VERS[@]/$(GCC_VERS)/g" \ + -e "s/[@]GCC_PKGVERS[@]/$(GCC_PKGVERS)/g" \ + -e "s/[@]GCC_RPMREL[@]/$(GCC_RPMREL)/g" \ + -e "s/[@]NEWLIB_VERS[@]/$(NEWLIB_VERS)/g" \ + -e "/--with-sysroot/d" \ + -e "/[@]tool_target[@]-sys-root/d" \ + -e "/[@]tool_target[@]-w32api-sys-root/d" \ + | $(MKSPEC0) > $(TARGET)-gcc.spec.in +CLEANFILES += $(TARGET)-gcc.spec.in + +@rpmprefix@$(TARGET)-gcc.spec: $(TARGET)-gcc.spec.in + $(MKSPEC) $(TARGET)-gcc.spec.in | $(SPECSTRIP) $(GCC_OPTS) > $@ +CLEANFILES += @rpmprefix@$(TARGET)-gcc.spec +noinst_DATA += @rpmprefix@$(TARGET)-gcc.spec + +EXTRA_DIST += $(GCC_SUBPACKAGES) diff --git a/contrib/crossrpms/rtems4.9/gdb.am b/contrib/crossrpms/rtems4.9/gdb.am new file mode 100644 index 0000000000..fd6ac388b3 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/gdb.am @@ -0,0 +1,31 @@ +EXTRA_DIST += gdb-sources.add + +GDB_OPTS = + +GDB_SUBPACKAGES = $(top_srcdir)/common/common.add +GDB_SUBPACKAGES += $(top_srcdir)/gdb/gdb.add +GDB_SUBPACKAGES += $(top_srcdir)/gdb/prep.add +GDB_SUBPACKAGES += $(top_srcdir)/gdb/build.add +GDB_SUBPACKAGES += $(top_srcdir)/gdb/install.add +GDB_SUBPACKAGES += $(top_srcdir)/gdb/rpm-install.add +GDB_SUBPACKAGES += $(top_srcdir)/common/clean.add +GDB_SUBPACKAGES += $(top_srcdir)/gdb/target-gdb.add +GDB_SUBPACKAGES += $(top_srcdir)/gdb/base-gdb.add + +$(TARGET)-gdb.spec.in: $(GDB_SUBPACKAGES) Makefile.am $(srcdir)/gdb-sources.add + cat $(GDB_SUBPACKAGES) | sed \ + -e "/[@]SOURCES[@]/r $(srcdir)/gdb-sources.add" \ + -e "/[@]SOURCES[@]/d" \ + -e "s/[@]GDB_VERS[@]/$(GDB_VERS)/g" \ + -e "s/[@]GDB_PKGVERS[@]/$(GDB_PKGVERS)/g" \ + -e "s/[@]GDB_RPMREL[@]/$(GDB_RPMREL)/g" \ + -e "/--with-sysroot/d" \ + | $(MKSPEC0) > $(TARGET)-gdb.spec.in +CLEANFILES += $(TARGET)-gdb.spec.in + +@rpmprefix@$(TARGET)-gdb.spec: $(TARGET)-gdb.spec.in + $(MKSPEC) $(TARGET)-gdb.spec.in | $(SPECSTRIP) $(GDB_OPTS) > $@ +CLEANFILES += @rpmprefix@$(TARGET)-gdb.spec +noinst_DATA += @rpmprefix@$(TARGET)-gdb.spec + +EXTRA_DIST += $(GDB_SUBPACKAGES) diff --git a/contrib/crossrpms/rtems4.9/h8300/.cvsignore b/contrib/crossrpms/rtems4.9/h8300/.cvsignore new file mode 100644 index 0000000000..c3dcdce8bd --- /dev/null +++ b/contrib/crossrpms/rtems4.9/h8300/.cvsignore @@ -0,0 +1,4 @@ +Makefile +Makefile.in +*.spec +*.spec.in diff --git a/contrib/crossrpms/rtems4.9/h8300/Makefile.am b/contrib/crossrpms/rtems4.9/h8300/Makefile.am new file mode 100644 index 0000000000..695b81e45a --- /dev/null +++ b/contrib/crossrpms/rtems4.9/h8300/Makefile.am @@ -0,0 +1,30 @@ +# $Id$ + +TARGET = h8300-rtems4.9 + +include $(top_srcdir)/mkspec.am + +BINUTILS_VERS = 2.18 +BINUTILS_PKGVERS = $(BINUTILS_VERS) +BINUTILS_RPMREL = 1%{?dist} +include ../binutils.am +BINUTILS_OPTS += + +GCC_VERS = 4.2.1 +GCC_PKGVERS = $(GCC_VERS) +GCC_RPMREL = 23%{?dist} +NEWLIB_VERS = 1.15.0 +include ../gcc.am +GCC_OPTS += --languages=cxx + +GDB_VERS = 6.6 +GDB_PKGVERS = $(GDB_VERS) +GDB_RPMREL = 9%{?dist} +include ../gdb.am +GDB_OPTS += + +CPUKIT_VERS = 4.7.99.1 +CPUKIT_PKGVERS = $(CPUKIT_VERS)-20070510 +CPUKIT_RPMREL = 0 +include ../cpukit.am +CPUKIT_OPTS += diff --git a/contrib/crossrpms/rtems4.9/h8300/binutils-sources.add b/contrib/crossrpms/rtems4.9/h8300/binutils-sources.add new file mode 100644 index 0000000000..ed7cddc3ef --- /dev/null +++ b/contrib/crossrpms/rtems4.9/h8300/binutils-sources.add @@ -0,0 +1,8 @@ +Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 0} +%if "%{binutils_version}" == "2.17" +Patch0: binutils-2.17-rtems4.8-20061021.diff +%endif +%if "%{binutils_version}" == "2.17.90" +Patch0: binutils-2.17.90-rtems4.8-20070807.diff +%endif diff --git a/contrib/crossrpms/rtems4.9/h8300/cpukit-sources.add b/contrib/crossrpms/rtems4.9/h8300/cpukit-sources.add new file mode 100644 index 0000000000..763e672840 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/h8300/cpukit-sources.add @@ -0,0 +1,2 @@ +Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/rtems-%{cpukit_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 0} diff --git a/contrib/crossrpms/rtems4.9/h8300/gcc-sources.add b/contrib/crossrpms/rtems4.9/h8300/gcc-sources.add new file mode 100644 index 0000000000..d7309a9169 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/h8300/gcc-sources.add @@ -0,0 +1,57 @@ +%if "%{gcc_version}" == "3.4.6" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-3.4.6/gcc-core-%{gcc_pkgvers}.tar.bz2 +%endif +%if "%{gcc_version}" == "4.0.3" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.0.3-rtems-20060822.diff +%endif +%if "%{gcc_version}" == "4.1.1" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.1.1-rtems4.8-20070201.diff +%endif +%if "%{gcc_version}" == "4.1.2" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.1.2-rtems4.8-20070613.diff +%endif +%if "%{gcc_version}" == "4.2.0" +Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-%{gcc_pkgvers}-rtems4.8-20070613.diff +%endif +%if "%{gcc_version}" == "4.2.1" +Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.2.1-rtems4.8-20070804.diff +%endif +%{?_without_sources:NoSource: 0} + +%if %build_cxx +Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 1} + +%endif +%if %build_f95 +Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 2} + +%endif +%if %build_gcj +Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 3} + +%endif +%if %build_gnat +Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 4} + +%endif +%if %build_objc +Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 5} + +%endif +%if %build_newlib +Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz +%if "%{newlib_version}" == "1.15.0" +Patch50: newlib-1.15.0-rtems4.8-20070804.diff +%endif +%{?_without_sources:NoSource: 50} +%endif diff --git a/contrib/crossrpms/rtems4.9/h8300/gdb-sources.add b/contrib/crossrpms/rtems4.9/h8300/gdb-sources.add new file mode 100644 index 0000000000..c302fca3d3 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/h8300/gdb-sources.add @@ -0,0 +1,8 @@ +Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2 +%{?_without_sources:NoSource: 0} +%if "%{gdb_version}" == "6.5" +Patch0: gdb-6.5-rtems-20060713.diff +%endif +%if "%{gdb_version}" == "6.6" +Patch0: gdb-6.6-rtems4.8-20070306.diff +%endif diff --git a/contrib/crossrpms/rtems4.9/i386/.cvsignore b/contrib/crossrpms/rtems4.9/i386/.cvsignore new file mode 100644 index 0000000000..c3dcdce8bd --- /dev/null +++ b/contrib/crossrpms/rtems4.9/i386/.cvsignore @@ -0,0 +1,4 @@ +Makefile +Makefile.in +*.spec +*.spec.in diff --git a/contrib/crossrpms/rtems4.9/i386/Makefile.am b/contrib/crossrpms/rtems4.9/i386/Makefile.am new file mode 100644 index 0000000000..095e101cae --- /dev/null +++ b/contrib/crossrpms/rtems4.9/i386/Makefile.am @@ -0,0 +1,30 @@ +# $Id$ + +TARGET = i386-rtems4.9 + +include $(top_srcdir)/mkspec.am + +BINUTILS_VERS = 2.18 +BINUTILS_PKGVERS = $(BINUTILS_VERS) +BINUTILS_RPMREL = 1%{?dist} +include ../binutils.am +BINUTILS_OPTS += + +GCC_VERS = 4.2.1 +GCC_PKGVERS = $(GCC_VERS) +GCC_RPMREL = 23%{?dist} +NEWLIB_VERS = 1.15.0 +include ../gcc.am +GCC_OPTS += --languages=cxx + +GDB_VERS = 6.6 +GDB_PKGVERS = $(GDB_VERS) +GDB_RPMREL = 9%{?dist} +include ../gdb.am +GDB_OPTS += + +CPUKIT_VERS = 4.7.99.1 +CPUKIT_PKGVERS = $(CPUKIT_VERS)-20070510 +CPUKIT_RPMREL = 0 +include ../cpukit.am +CPUKIT_OPTS += diff --git a/contrib/crossrpms/rtems4.9/i386/binutils-sources.add b/contrib/crossrpms/rtems4.9/i386/binutils-sources.add new file mode 100644 index 0000000000..ed7cddc3ef --- /dev/null +++ b/contrib/crossrpms/rtems4.9/i386/binutils-sources.add @@ -0,0 +1,8 @@ +Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 0} +%if "%{binutils_version}" == "2.17" +Patch0: binutils-2.17-rtems4.8-20061021.diff +%endif +%if "%{binutils_version}" == "2.17.90" +Patch0: binutils-2.17.90-rtems4.8-20070807.diff +%endif diff --git a/contrib/crossrpms/rtems4.9/i386/cpukit-sources.add b/contrib/crossrpms/rtems4.9/i386/cpukit-sources.add new file mode 100644 index 0000000000..763e672840 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/i386/cpukit-sources.add @@ -0,0 +1,2 @@ +Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/rtems-%{cpukit_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 0} diff --git a/contrib/crossrpms/rtems4.9/i386/gcc-sources.add b/contrib/crossrpms/rtems4.9/i386/gcc-sources.add new file mode 100644 index 0000000000..d7309a9169 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/i386/gcc-sources.add @@ -0,0 +1,57 @@ +%if "%{gcc_version}" == "3.4.6" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-3.4.6/gcc-core-%{gcc_pkgvers}.tar.bz2 +%endif +%if "%{gcc_version}" == "4.0.3" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.0.3-rtems-20060822.diff +%endif +%if "%{gcc_version}" == "4.1.1" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.1.1-rtems4.8-20070201.diff +%endif +%if "%{gcc_version}" == "4.1.2" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.1.2-rtems4.8-20070613.diff +%endif +%if "%{gcc_version}" == "4.2.0" +Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-%{gcc_pkgvers}-rtems4.8-20070613.diff +%endif +%if "%{gcc_version}" == "4.2.1" +Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.2.1-rtems4.8-20070804.diff +%endif +%{?_without_sources:NoSource: 0} + +%if %build_cxx +Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 1} + +%endif +%if %build_f95 +Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 2} + +%endif +%if %build_gcj +Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 3} + +%endif +%if %build_gnat +Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 4} + +%endif +%if %build_objc +Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 5} + +%endif +%if %build_newlib +Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz +%if "%{newlib_version}" == "1.15.0" +Patch50: newlib-1.15.0-rtems4.8-20070804.diff +%endif +%{?_without_sources:NoSource: 50} +%endif diff --git a/contrib/crossrpms/rtems4.9/i386/gdb-sources.add b/contrib/crossrpms/rtems4.9/i386/gdb-sources.add new file mode 100644 index 0000000000..c302fca3d3 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/i386/gdb-sources.add @@ -0,0 +1,8 @@ +Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2 +%{?_without_sources:NoSource: 0} +%if "%{gdb_version}" == "6.5" +Patch0: gdb-6.5-rtems-20060713.diff +%endif +%if "%{gdb_version}" == "6.6" +Patch0: gdb-6.6-rtems4.8-20070306.diff +%endif diff --git a/contrib/crossrpms/rtems4.9/m68k/.cvsignore b/contrib/crossrpms/rtems4.9/m68k/.cvsignore new file mode 100644 index 0000000000..c3dcdce8bd --- /dev/null +++ b/contrib/crossrpms/rtems4.9/m68k/.cvsignore @@ -0,0 +1,4 @@ +Makefile +Makefile.in +*.spec +*.spec.in diff --git a/contrib/crossrpms/rtems4.9/m68k/Makefile.am b/contrib/crossrpms/rtems4.9/m68k/Makefile.am new file mode 100644 index 0000000000..540e41f0d8 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/m68k/Makefile.am @@ -0,0 +1,30 @@ +# $Id$ + +TARGET = m68k-rtems4.9 + +include $(top_srcdir)/mkspec.am + +BINUTILS_VERS = 2.18 +BINUTILS_PKGVERS = $(BINUTILS_VERS) +BINUTILS_RPMREL = 1%{?dist} +include ../binutils.am +BINUTILS_OPTS += + +GCC_VERS = 4.2.1 +GCC_PKGVERS = $(GCC_VERS) +GCC_RPMREL = 23%{?dist} +NEWLIB_VERS = 1.15.0 +include ../gcc.am +GCC_OPTS += --languages=cxx + +GDB_VERS = 6.6 +GDB_PKGVERS = $(GDB_VERS) +GDB_RPMREL = 9%{?dist} +include ../gdb.am +GDB_OPTS += + +CPUKIT_VERS = 4.7.99.1 +CPUKIT_PKGVERS = $(CPUKIT_VERS)-20070510 +CPUKIT_RPMREL = 0 +include ../cpukit.am +CPUKIT_OPTS += diff --git a/contrib/crossrpms/rtems4.9/m68k/binutils-sources.add b/contrib/crossrpms/rtems4.9/m68k/binutils-sources.add new file mode 100644 index 0000000000..ed7cddc3ef --- /dev/null +++ b/contrib/crossrpms/rtems4.9/m68k/binutils-sources.add @@ -0,0 +1,8 @@ +Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 0} +%if "%{binutils_version}" == "2.17" +Patch0: binutils-2.17-rtems4.8-20061021.diff +%endif +%if "%{binutils_version}" == "2.17.90" +Patch0: binutils-2.17.90-rtems4.8-20070807.diff +%endif diff --git a/contrib/crossrpms/rtems4.9/m68k/cpukit-sources.add b/contrib/crossrpms/rtems4.9/m68k/cpukit-sources.add new file mode 100644 index 0000000000..763e672840 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/m68k/cpukit-sources.add @@ -0,0 +1,2 @@ +Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/rtems-%{cpukit_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 0} diff --git a/contrib/crossrpms/rtems4.9/m68k/gcc-sources.add b/contrib/crossrpms/rtems4.9/m68k/gcc-sources.add new file mode 100644 index 0000000000..33691e2813 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/m68k/gcc-sources.add @@ -0,0 +1,54 @@ +%if "%{gcc_version}" == "4.0.3" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.0.3-rtems-20060822.diff +%endif +%if "%{gcc_version}" == "4.1.1" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.1.1-rtems4.8-20070201.diff +%endif +%if "%{gcc_version}" == "4.1.2" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.1.2-rtems4.8-20070613.diff +%endif +%if "%{gcc_version}" == "4.2.0" +Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-%{gcc_pkgvers}-rtems4.8-20070613.diff +%endif +%if "%{gcc_version}" == "4.2.1" +Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.2.1-rtems4.8-20070804.diff +%endif +%{?_without_sources:NoSource: 0} + +%if %build_cxx +Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 1} + +%endif +%if %build_f95 +Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 2} + +%endif +%if %build_gcj +Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 3} + +%endif +%if %build_gnat +Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 4} + +%endif +%if %build_objc +Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 5} + +%endif +%if %build_newlib +Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz +%if "%{newlib_version}" == "1.15.0" +Patch50: newlib-1.15.0-rtems4.8-20070804.diff +%endif +%{?_without_sources:NoSource: 50} +%endif diff --git a/contrib/crossrpms/rtems4.9/m68k/gdb-sources.add b/contrib/crossrpms/rtems4.9/m68k/gdb-sources.add new file mode 100644 index 0000000000..c302fca3d3 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/m68k/gdb-sources.add @@ -0,0 +1,8 @@ +Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2 +%{?_without_sources:NoSource: 0} +%if "%{gdb_version}" == "6.5" +Patch0: gdb-6.5-rtems-20060713.diff +%endif +%if "%{gdb_version}" == "6.6" +Patch0: gdb-6.6-rtems4.8-20070306.diff +%endif diff --git a/contrib/crossrpms/rtems4.9/mips/.cvsignore b/contrib/crossrpms/rtems4.9/mips/.cvsignore new file mode 100644 index 0000000000..c3dcdce8bd --- /dev/null +++ b/contrib/crossrpms/rtems4.9/mips/.cvsignore @@ -0,0 +1,4 @@ +Makefile +Makefile.in +*.spec +*.spec.in diff --git a/contrib/crossrpms/rtems4.9/mips/Makefile.am b/contrib/crossrpms/rtems4.9/mips/Makefile.am new file mode 100644 index 0000000000..a8f98573a8 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/mips/Makefile.am @@ -0,0 +1,30 @@ +# $Id$ + +TARGET = mips-rtems4.9 + +include $(top_srcdir)/mkspec.am + +BINUTILS_VERS = 2.18 +BINUTILS_PKGVERS = $(BINUTILS_VERS) +BINUTILS_RPMREL = 1%{?dist} +include ../binutils.am +BINUTILS_OPTS += + +GCC_VERS = 4.2.1 +GCC_PKGVERS = $(GCC_VERS) +GCC_RPMREL = 23%{?dist} +NEWLIB_VERS = 1.15.0 +include ../gcc.am +GCC_OPTS += --languages=cxx + +GDB_VERS = 6.6 +GDB_PKGVERS = $(GDB_VERS) +GDB_RPMREL = 9%{?dist} +include ../gdb.am +GDB_OPTS += + +CPUKIT_VERS = 4.7.99.1 +CPUKIT_PKGVERS = $(CPUKIT_VERS)-20070510 +CPUKIT_RPMREL = 0 +include ../cpukit.am +CPUKIT_OPTS += diff --git a/contrib/crossrpms/rtems4.9/mips/binutils-sources.add b/contrib/crossrpms/rtems4.9/mips/binutils-sources.add new file mode 100644 index 0000000000..ed7cddc3ef --- /dev/null +++ b/contrib/crossrpms/rtems4.9/mips/binutils-sources.add @@ -0,0 +1,8 @@ +Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 0} +%if "%{binutils_version}" == "2.17" +Patch0: binutils-2.17-rtems4.8-20061021.diff +%endif +%if "%{binutils_version}" == "2.17.90" +Patch0: binutils-2.17.90-rtems4.8-20070807.diff +%endif diff --git a/contrib/crossrpms/rtems4.9/mips/cpukit-sources.add b/contrib/crossrpms/rtems4.9/mips/cpukit-sources.add new file mode 100644 index 0000000000..763e672840 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/mips/cpukit-sources.add @@ -0,0 +1,2 @@ +Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/rtems-%{cpukit_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 0} diff --git a/contrib/crossrpms/rtems4.9/mips/gcc-sources.add b/contrib/crossrpms/rtems4.9/mips/gcc-sources.add new file mode 100644 index 0000000000..d7309a9169 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/mips/gcc-sources.add @@ -0,0 +1,57 @@ +%if "%{gcc_version}" == "3.4.6" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-3.4.6/gcc-core-%{gcc_pkgvers}.tar.bz2 +%endif +%if "%{gcc_version}" == "4.0.3" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.0.3-rtems-20060822.diff +%endif +%if "%{gcc_version}" == "4.1.1" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.1.1-rtems4.8-20070201.diff +%endif +%if "%{gcc_version}" == "4.1.2" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.1.2-rtems4.8-20070613.diff +%endif +%if "%{gcc_version}" == "4.2.0" +Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-%{gcc_pkgvers}-rtems4.8-20070613.diff +%endif +%if "%{gcc_version}" == "4.2.1" +Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.2.1-rtems4.8-20070804.diff +%endif +%{?_without_sources:NoSource: 0} + +%if %build_cxx +Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 1} + +%endif +%if %build_f95 +Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 2} + +%endif +%if %build_gcj +Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 3} + +%endif +%if %build_gnat +Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 4} + +%endif +%if %build_objc +Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 5} + +%endif +%if %build_newlib +Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz +%if "%{newlib_version}" == "1.15.0" +Patch50: newlib-1.15.0-rtems4.8-20070804.diff +%endif +%{?_without_sources:NoSource: 50} +%endif diff --git a/contrib/crossrpms/rtems4.9/mips/gdb-sources.add b/contrib/crossrpms/rtems4.9/mips/gdb-sources.add new file mode 100644 index 0000000000..c302fca3d3 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/mips/gdb-sources.add @@ -0,0 +1,8 @@ +Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2 +%{?_without_sources:NoSource: 0} +%if "%{gdb_version}" == "6.5" +Patch0: gdb-6.5-rtems-20060713.diff +%endif +%if "%{gdb_version}" == "6.6" +Patch0: gdb-6.6-rtems4.8-20070306.diff +%endif diff --git a/contrib/crossrpms/rtems4.9/mipstx39/.cvsignore b/contrib/crossrpms/rtems4.9/mipstx39/.cvsignore new file mode 100644 index 0000000000..c3dcdce8bd --- /dev/null +++ b/contrib/crossrpms/rtems4.9/mipstx39/.cvsignore @@ -0,0 +1,4 @@ +Makefile +Makefile.in +*.spec +*.spec.in diff --git a/contrib/crossrpms/rtems4.9/mipstx39/Makefile.am b/contrib/crossrpms/rtems4.9/mipstx39/Makefile.am new file mode 100644 index 0000000000..7bba375dda --- /dev/null +++ b/contrib/crossrpms/rtems4.9/mipstx39/Makefile.am @@ -0,0 +1,12 @@ +# $Id$ + +TARGET = mipstx39-rtems4.9 + +include $(top_srcdir)/mkspec.am + +# We only want a gdb with a tx39 simulator in it. We share the other tools +GDB_VERS = 6.6 +GDB_PKGVERS = $(GDB_VERS) +GDB_RPMREL = 9%{?dist} +include ../gdb.am +GDB_OPTS += diff --git a/contrib/crossrpms/rtems4.9/mipstx39/gdb-sources.add b/contrib/crossrpms/rtems4.9/mipstx39/gdb-sources.add new file mode 100644 index 0000000000..c302fca3d3 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/mipstx39/gdb-sources.add @@ -0,0 +1,8 @@ +Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2 +%{?_without_sources:NoSource: 0} +%if "%{gdb_version}" == "6.5" +Patch0: gdb-6.5-rtems-20060713.diff +%endif +%if "%{gdb_version}" == "6.6" +Patch0: gdb-6.6-rtems4.8-20070306.diff +%endif diff --git a/contrib/crossrpms/rtems4.9/powerpc/.cvsignore b/contrib/crossrpms/rtems4.9/powerpc/.cvsignore new file mode 100644 index 0000000000..c3dcdce8bd --- /dev/null +++ b/contrib/crossrpms/rtems4.9/powerpc/.cvsignore @@ -0,0 +1,4 @@ +Makefile +Makefile.in +*.spec +*.spec.in diff --git a/contrib/crossrpms/rtems4.9/powerpc/Makefile.am b/contrib/crossrpms/rtems4.9/powerpc/Makefile.am new file mode 100644 index 0000000000..87061e126f --- /dev/null +++ b/contrib/crossrpms/rtems4.9/powerpc/Makefile.am @@ -0,0 +1,30 @@ +# $Id$ + +TARGET = powerpc-rtems4.9 + +include $(top_srcdir)/mkspec.am + +BINUTILS_VERS = 2.18 +BINUTILS_PKGVERS = $(BINUTILS_VERS) +BINUTILS_RPMREL = 1%{?dist} +include ../binutils.am +BINUTILS_OPTS += + +GCC_VERS = 4.2.1 +GCC_PKGVERS = $(GCC_VERS) +GCC_RPMREL = 24%{?dist} +NEWLIB_VERS = 1.15.0 +include ../gcc.am +GCC_OPTS += --languages=cxx + +GDB_VERS = 6.6 +GDB_PKGVERS = $(GDB_VERS) +GDB_RPMREL = 9%{?dist} +include ../gdb.am +GDB_OPTS += + +CPUKIT_VERS = 4.7.99.1 +CPUKIT_PKGVERS = $(CPUKIT_VERS)-20070510 +CPUKIT_RPMREL = 0 +include ../cpukit.am +CPUKIT_OPTS += diff --git a/contrib/crossrpms/rtems4.9/powerpc/binutils-sources.add b/contrib/crossrpms/rtems4.9/powerpc/binutils-sources.add new file mode 100644 index 0000000000..ed7cddc3ef --- /dev/null +++ b/contrib/crossrpms/rtems4.9/powerpc/binutils-sources.add @@ -0,0 +1,8 @@ +Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 0} +%if "%{binutils_version}" == "2.17" +Patch0: binutils-2.17-rtems4.8-20061021.diff +%endif +%if "%{binutils_version}" == "2.17.90" +Patch0: binutils-2.17.90-rtems4.8-20070807.diff +%endif diff --git a/contrib/crossrpms/rtems4.9/powerpc/cpukit-sources.add b/contrib/crossrpms/rtems4.9/powerpc/cpukit-sources.add new file mode 100644 index 0000000000..763e672840 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/powerpc/cpukit-sources.add @@ -0,0 +1,2 @@ +Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/rtems-%{cpukit_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 0} diff --git a/contrib/crossrpms/rtems4.9/powerpc/gcc-sources.add b/contrib/crossrpms/rtems4.9/powerpc/gcc-sources.add new file mode 100644 index 0000000000..aa23941777 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/powerpc/gcc-sources.add @@ -0,0 +1,57 @@ +%if "%{gcc_version}" == "3.4.6" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-3.4.6/gcc-core-%{gcc_pkgvers}.tar.bz2 +%endif +%if "%{gcc_version}" == "4.0.3" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.0.3-rtems-20060822.diff +%endif +%if "%{gcc_version}" == "4.1.1" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.1.1-rtems4.8-20070201.diff +%endif +%if "%{gcc_version}" == "4.1.2" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.1.2-rtems4.8-20070613.diff +%endif +%if "%{gcc_version}" == "4.2.0" +Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-%{gcc_pkgvers}-rtems4.8-20070613.diff +%endif +%if "%{gcc_version}" == "4.2.1" +Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.2.1-rtems4.8-20070804.diff +%endif +%{?_without_sources:NoSource: 0} + +%if %build_cxx +Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 1} + +%endif +%if %build_f95 +Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 2} + +%endif +%if %build_gcj +Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 3} + +%endif +%if %build_gnat +Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 4} + +%endif +%if %build_objc +Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 5} + +%endif +%if %build_newlib +Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz +%if "%{newlib_version}" == "1.15.0" +Patch50: newlib-1.15.0-rtems4.8-20070912.diff +%endif +%{?_without_sources:NoSource: 50} +%endif diff --git a/contrib/crossrpms/rtems4.9/powerpc/gdb-sources.add b/contrib/crossrpms/rtems4.9/powerpc/gdb-sources.add new file mode 100644 index 0000000000..c302fca3d3 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/powerpc/gdb-sources.add @@ -0,0 +1,8 @@ +Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2 +%{?_without_sources:NoSource: 0} +%if "%{gdb_version}" == "6.5" +Patch0: gdb-6.5-rtems-20060713.diff +%endif +%if "%{gdb_version}" == "6.6" +Patch0: gdb-6.6-rtems4.8-20070306.diff +%endif diff --git a/contrib/crossrpms/rtems4.9/sh/.cvsignore b/contrib/crossrpms/rtems4.9/sh/.cvsignore new file mode 100644 index 0000000000..c3dcdce8bd --- /dev/null +++ b/contrib/crossrpms/rtems4.9/sh/.cvsignore @@ -0,0 +1,4 @@ +Makefile +Makefile.in +*.spec +*.spec.in diff --git a/contrib/crossrpms/rtems4.9/sh/Makefile.am b/contrib/crossrpms/rtems4.9/sh/Makefile.am new file mode 100644 index 0000000000..83b03f5c90 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/sh/Makefile.am @@ -0,0 +1,30 @@ +# $Id$ + +TARGET = sh-rtems4.9 + +include $(top_srcdir)/mkspec.am + +BINUTILS_VERS = 2.18 +BINUTILS_PKGVERS = $(BINUTILS_VERS) +BINUTILS_RPMREL = 1%{?dist} +include ../binutils.am +BINUTILS_OPTS += + +GCC_VERS = 4.2.1 +GCC_PKGVERS = $(GCC_VERS) +GCC_RPMREL = 23%{?dist} +NEWLIB_VERS = 1.15.0 +include ../gcc.am +GCC_OPTS += --languages=cxx + +GDB_VERS = 6.6 +GDB_PKGVERS = $(GDB_VERS) +GDB_RPMREL = 9%{?dist} +include ../gdb.am +GDB_OPTS += + +CPUKIT_VERS = 4.7.99.1 +CPUKIT_PKGVERS = $(CPUKIT_VERS)-20070510 +CPUKIT_RPMREL = 0 +include ../cpukit.am +CPUKIT_OPTS += diff --git a/contrib/crossrpms/rtems4.9/sh/binutils-sources.add b/contrib/crossrpms/rtems4.9/sh/binutils-sources.add new file mode 100644 index 0000000000..ed7cddc3ef --- /dev/null +++ b/contrib/crossrpms/rtems4.9/sh/binutils-sources.add @@ -0,0 +1,8 @@ +Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 0} +%if "%{binutils_version}" == "2.17" +Patch0: binutils-2.17-rtems4.8-20061021.diff +%endif +%if "%{binutils_version}" == "2.17.90" +Patch0: binutils-2.17.90-rtems4.8-20070807.diff +%endif diff --git a/contrib/crossrpms/rtems4.9/sh/cpukit-sources.add b/contrib/crossrpms/rtems4.9/sh/cpukit-sources.add new file mode 100644 index 0000000000..763e672840 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/sh/cpukit-sources.add @@ -0,0 +1,2 @@ +Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/rtems-%{cpukit_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 0} diff --git a/contrib/crossrpms/rtems4.9/sh/gcc-sources.add b/contrib/crossrpms/rtems4.9/sh/gcc-sources.add new file mode 100644 index 0000000000..d7309a9169 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/sh/gcc-sources.add @@ -0,0 +1,57 @@ +%if "%{gcc_version}" == "3.4.6" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-3.4.6/gcc-core-%{gcc_pkgvers}.tar.bz2 +%endif +%if "%{gcc_version}" == "4.0.3" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.0.3-rtems-20060822.diff +%endif +%if "%{gcc_version}" == "4.1.1" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.1.1-rtems4.8-20070201.diff +%endif +%if "%{gcc_version}" == "4.1.2" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.1.2-rtems4.8-20070613.diff +%endif +%if "%{gcc_version}" == "4.2.0" +Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-%{gcc_pkgvers}-rtems4.8-20070613.diff +%endif +%if "%{gcc_version}" == "4.2.1" +Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.2.1-rtems4.8-20070804.diff +%endif +%{?_without_sources:NoSource: 0} + +%if %build_cxx +Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 1} + +%endif +%if %build_f95 +Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 2} + +%endif +%if %build_gcj +Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 3} + +%endif +%if %build_gnat +Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 4} + +%endif +%if %build_objc +Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 5} + +%endif +%if %build_newlib +Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz +%if "%{newlib_version}" == "1.15.0" +Patch50: newlib-1.15.0-rtems4.8-20070804.diff +%endif +%{?_without_sources:NoSource: 50} +%endif diff --git a/contrib/crossrpms/rtems4.9/sh/gdb-sources.add b/contrib/crossrpms/rtems4.9/sh/gdb-sources.add new file mode 100644 index 0000000000..c302fca3d3 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/sh/gdb-sources.add @@ -0,0 +1,8 @@ +Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2 +%{?_without_sources:NoSource: 0} +%if "%{gdb_version}" == "6.5" +Patch0: gdb-6.5-rtems-20060713.diff +%endif +%if "%{gdb_version}" == "6.6" +Patch0: gdb-6.6-rtems4.8-20070306.diff +%endif diff --git a/contrib/crossrpms/rtems4.9/sparc/.cvsignore b/contrib/crossrpms/rtems4.9/sparc/.cvsignore new file mode 100644 index 0000000000..c3dcdce8bd --- /dev/null +++ b/contrib/crossrpms/rtems4.9/sparc/.cvsignore @@ -0,0 +1,4 @@ +Makefile +Makefile.in +*.spec +*.spec.in diff --git a/contrib/crossrpms/rtems4.9/sparc/Makefile.am b/contrib/crossrpms/rtems4.9/sparc/Makefile.am new file mode 100644 index 0000000000..3e3bd034aa --- /dev/null +++ b/contrib/crossrpms/rtems4.9/sparc/Makefile.am @@ -0,0 +1,30 @@ +# $Id$ + +TARGET = sparc-rtems4.9 + +include $(top_srcdir)/mkspec.am + +BINUTILS_VERS = 2.18 +BINUTILS_PKGVERS = $(BINUTILS_VERS) +BINUTILS_RPMREL = 1%{?dist} +include ../binutils.am +BINUTILS_OPTS += + +GCC_VERS = 4.2.1 +GCC_PKGVERS = $(GCC_VERS) +GCC_RPMREL = 23%{?dist} +NEWLIB_VERS = 1.15.0 +include ../gcc.am +GCC_OPTS += --languages=cxx + +GDB_VERS = 6.5 +GDB_PKGVERS = $(GDB_VERS) +GDB_RPMREL = 2%{?dist} +include ../gdb.am +GDB_OPTS += + +CPUKIT_VERS = 4.7.99.1 +CPUKIT_PKGVERS = $(CPUKIT_VERS)-20070510 +CPUKIT_RPMREL = 0 +include ../cpukit.am +CPUKIT_OPTS += diff --git a/contrib/crossrpms/rtems4.9/sparc/binutils-sources.add b/contrib/crossrpms/rtems4.9/sparc/binutils-sources.add new file mode 100644 index 0000000000..ed7cddc3ef --- /dev/null +++ b/contrib/crossrpms/rtems4.9/sparc/binutils-sources.add @@ -0,0 +1,8 @@ +Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 0} +%if "%{binutils_version}" == "2.17" +Patch0: binutils-2.17-rtems4.8-20061021.diff +%endif +%if "%{binutils_version}" == "2.17.90" +Patch0: binutils-2.17.90-rtems4.8-20070807.diff +%endif diff --git a/contrib/crossrpms/rtems4.9/sparc/cpukit-sources.add b/contrib/crossrpms/rtems4.9/sparc/cpukit-sources.add new file mode 100644 index 0000000000..763e672840 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/sparc/cpukit-sources.add @@ -0,0 +1,2 @@ +Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/rtems-%{cpukit_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 0} diff --git a/contrib/crossrpms/rtems4.9/sparc/gcc-sources.add b/contrib/crossrpms/rtems4.9/sparc/gcc-sources.add new file mode 100644 index 0000000000..d7309a9169 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/sparc/gcc-sources.add @@ -0,0 +1,57 @@ +%if "%{gcc_version}" == "3.4.6" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-3.4.6/gcc-core-%{gcc_pkgvers}.tar.bz2 +%endif +%if "%{gcc_version}" == "4.0.3" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.0.3-rtems-20060822.diff +%endif +%if "%{gcc_version}" == "4.1.1" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.1.1-rtems4.8-20070201.diff +%endif +%if "%{gcc_version}" == "4.1.2" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.1.2-rtems4.8-20070613.diff +%endif +%if "%{gcc_version}" == "4.2.0" +Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-%{gcc_pkgvers}-rtems4.8-20070613.diff +%endif +%if "%{gcc_version}" == "4.2.1" +Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.2.1-rtems4.8-20070804.diff +%endif +%{?_without_sources:NoSource: 0} + +%if %build_cxx +Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 1} + +%endif +%if %build_f95 +Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 2} + +%endif +%if %build_gcj +Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 3} + +%endif +%if %build_gnat +Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 4} + +%endif +%if %build_objc +Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 5} + +%endif +%if %build_newlib +Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz +%if "%{newlib_version}" == "1.15.0" +Patch50: newlib-1.15.0-rtems4.8-20070804.diff +%endif +%{?_without_sources:NoSource: 50} +%endif diff --git a/contrib/crossrpms/rtems4.9/sparc/gdb-sources.add b/contrib/crossrpms/rtems4.9/sparc/gdb-sources.add new file mode 100644 index 0000000000..c302fca3d3 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/sparc/gdb-sources.add @@ -0,0 +1,8 @@ +Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2 +%{?_without_sources:NoSource: 0} +%if "%{gdb_version}" == "6.5" +Patch0: gdb-6.5-rtems-20060713.diff +%endif +%if "%{gdb_version}" == "6.6" +Patch0: gdb-6.6-rtems4.8-20070306.diff +%endif diff --git a/contrib/crossrpms/rtems4.9/tic4x/.cvsignore b/contrib/crossrpms/rtems4.9/tic4x/.cvsignore new file mode 100644 index 0000000000..c3dcdce8bd --- /dev/null +++ b/contrib/crossrpms/rtems4.9/tic4x/.cvsignore @@ -0,0 +1,4 @@ +Makefile +Makefile.in +*.spec +*.spec.in diff --git a/contrib/crossrpms/rtems4.9/tic4x/Makefile.am b/contrib/crossrpms/rtems4.9/tic4x/Makefile.am new file mode 100644 index 0000000000..35d3890542 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/tic4x/Makefile.am @@ -0,0 +1,30 @@ +# $Id$ + +TARGET = tic4x-rtems4.9 + +include $(top_srcdir)/mkspec.am + +BINUTILS_VERS = 2.18 +BINUTILS_PKGVERS = $(BINUTILS_VERS) +BINUTILS_RPMREL = 1%{?dist} +include ../binutils.am +BINUTILS_OPTS += + +GCC_VERS = 3.4.6 +GCC_PKGVERS = $(GCC_VERS) +GCC_RPMREL = 12%{?dist} +NEWLIB_VERS = 1.15.0 +include ../gcc.am +GCC_OPTS += + +### GDB-6.4 doesn't support the tic4x +## GDB_VERS = 6.4 +## include ../gdb.am +## GDB_OPTS += + +### rtems doesn't build for the tic4x +## CPUKIT_VERS = 4.7.99.1 +## CPUKIT_PKGVERS = $(CPUKIT_VERS)-20070510 +## CPUKIT_RPMREL = 0 +## include ../cpukit.am +## CPUKIT_OPTS += diff --git a/contrib/crossrpms/rtems4.9/tic4x/binutils-sources.add b/contrib/crossrpms/rtems4.9/tic4x/binutils-sources.add new file mode 100644 index 0000000000..ed7cddc3ef --- /dev/null +++ b/contrib/crossrpms/rtems4.9/tic4x/binutils-sources.add @@ -0,0 +1,8 @@ +Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 0} +%if "%{binutils_version}" == "2.17" +Patch0: binutils-2.17-rtems4.8-20061021.diff +%endif +%if "%{binutils_version}" == "2.17.90" +Patch0: binutils-2.17.90-rtems4.8-20070807.diff +%endif diff --git a/contrib/crossrpms/rtems4.9/tic4x/cpukit-sources.add b/contrib/crossrpms/rtems4.9/tic4x/cpukit-sources.add new file mode 100644 index 0000000000..763e672840 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/tic4x/cpukit-sources.add @@ -0,0 +1,2 @@ +Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/rtems-%{cpukit_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 0} diff --git a/contrib/crossrpms/rtems4.9/tic4x/gcc-sources.add b/contrib/crossrpms/rtems4.9/tic4x/gcc-sources.add new file mode 100644 index 0000000000..d7309a9169 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/tic4x/gcc-sources.add @@ -0,0 +1,57 @@ +%if "%{gcc_version}" == "3.4.6" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-3.4.6/gcc-core-%{gcc_pkgvers}.tar.bz2 +%endif +%if "%{gcc_version}" == "4.0.3" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.0.3-rtems-20060822.diff +%endif +%if "%{gcc_version}" == "4.1.1" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.1.1-rtems4.8-20070201.diff +%endif +%if "%{gcc_version}" == "4.1.2" +Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.1.2-rtems4.8-20070613.diff +%endif +%if "%{gcc_version}" == "4.2.0" +Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-%{gcc_pkgvers}-rtems4.8-20070613.diff +%endif +%if "%{gcc_version}" == "4.2.1" +Source0: ftp://gcc.gnu.org/pub/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: gcc-core-4.2.1-rtems4.8-20070804.diff +%endif +%{?_without_sources:NoSource: 0} + +%if %build_cxx +Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 1} + +%endif +%if %build_f95 +Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 2} + +%endif +%if %build_gcj +Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 3} + +%endif +%if %build_gnat +Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 4} + +%endif +%if %build_objc +Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2 +%{?_without_sources:NoSource: 5} + +%endif +%if %build_newlib +Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz +%if "%{newlib_version}" == "1.15.0" +Patch50: newlib-1.15.0-rtems4.8-20070804.diff +%endif +%{?_without_sources:NoSource: 50} +%endif diff --git a/contrib/crossrpms/rtems4.9/tic4x/gdb-sources.add b/contrib/crossrpms/rtems4.9/tic4x/gdb-sources.add new file mode 100644 index 0000000000..c302fca3d3 --- /dev/null +++ b/contrib/crossrpms/rtems4.9/tic4x/gdb-sources.add @@ -0,0 +1,8 @@ +Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2 +%{?_without_sources:NoSource: 0} +%if "%{gdb_version}" == "6.5" +Patch0: gdb-6.5-rtems-20060713.diff +%endif +%if "%{gdb_version}" == "6.6" +Patch0: gdb-6.6-rtems4.8-20070306.diff +%endif |