summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/rtems4.8/mips
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/crossrpms/rtems4.8/mips')
-rw-r--r--contrib/crossrpms/rtems4.8/mips/.cvsignore4
-rw-r--r--contrib/crossrpms/rtems4.8/mips/Makefile.am19
-rw-r--r--contrib/crossrpms/rtems4.8/mips/binutils-sources.add5
-rw-r--r--contrib/crossrpms/rtems4.8/mips/gcc-sources.add41
-rw-r--r--contrib/crossrpms/rtems4.8/mips/gdb-sources.add3
5 files changed, 72 insertions, 0 deletions
diff --git a/contrib/crossrpms/rtems4.8/mips/.cvsignore b/contrib/crossrpms/rtems4.8/mips/.cvsignore
new file mode 100644
index 0000000000..c3dcdce8bd
--- /dev/null
+++ b/contrib/crossrpms/rtems4.8/mips/.cvsignore
@@ -0,0 +1,4 @@
+Makefile
+Makefile.in
+*.spec
+*.spec.in
diff --git a/contrib/crossrpms/rtems4.8/mips/Makefile.am b/contrib/crossrpms/rtems4.8/mips/Makefile.am
new file mode 100644
index 0000000000..fd521f305f
--- /dev/null
+++ b/contrib/crossrpms/rtems4.8/mips/Makefile.am
@@ -0,0 +1,19 @@
+# $Id$
+
+TARGET = mips-rtems4.8
+
+include $(top_srcdir)/mkspec.am
+
+BINUTILS_VERS = 2.17
+BINUTILS_RPMREL = 3
+include ../binutils.am
+
+GCC_VERS = 4.1.1
+GCC_RPMREL = 5
+NEWLIB_VERS = 1.14.0
+include ../gcc.am
+GCC_OPTS += --languages=cxx
+
+GDB_VERS = 6.5
+GDB_RPMREL = 2
+include ../gdb.am
diff --git a/contrib/crossrpms/rtems4.8/mips/binutils-sources.add b/contrib/crossrpms/rtems4.8/mips/binutils-sources.add
new file mode 100644
index 0000000000..b5b4c11b22
--- /dev/null
+++ b/contrib/crossrpms/rtems4.8/mips/binutils-sources.add
@@ -0,0 +1,5 @@
+Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{binutils_version}.tar.bz2
+%{?_without_sources:NoSource: 0}
+%if "%{binutils_version}" == "2.16.1"
+Patch0: binutils-2.16.1-rtems-20050708.diff
+%endif
diff --git a/contrib/crossrpms/rtems4.8/mips/gcc-sources.add b/contrib/crossrpms/rtems4.8/mips/gcc-sources.add
new file mode 100644
index 0000000000..f5f263d5b4
--- /dev/null
+++ b/contrib/crossrpms/rtems4.8/mips/gcc-sources.add
@@ -0,0 +1,41 @@
+Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
+%if "%{gcc_version}" == "4.0.3"
+Patch0: gcc-core-4.0.3-rtems-20060822.diff
+%endif
+%if "%{gcc_version}" == "4.1.1"
+Patch0: gcc-core-4.1.1-rtems-20060909.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.14.0"
+Patch50: newlib-1.14.0-rtems4.7-20061019.diff
+%endif
+%{?_without_sources:NoSource: 50}
+%endif
diff --git a/contrib/crossrpms/rtems4.8/mips/gdb-sources.add b/contrib/crossrpms/rtems4.8/mips/gdb-sources.add
new file mode 100644
index 0000000000..a338562c71
--- /dev/null
+++ b/contrib/crossrpms/rtems4.8/mips/gdb-sources.add
@@ -0,0 +1,3 @@
+Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
+%{?_without_sources:NoSource: 0}
+Patch0: gdb-6.5-rtems-20060713.diff