diff options
Diffstat (limited to 'contrib/crossrpms/rtems4.11/m32r')
-rw-r--r-- | contrib/crossrpms/rtems4.11/m32r/Makefile.am | 8 | ||||
-rw-r--r-- | contrib/crossrpms/rtems4.11/m32r/gcc-sources.add | 7 |
2 files changed, 11 insertions, 4 deletions
diff --git a/contrib/crossrpms/rtems4.11/m32r/Makefile.am b/contrib/crossrpms/rtems4.11/m32r/Makefile.am index 35532c6b23..1ddd44e1b7 100644 --- a/contrib/crossrpms/rtems4.11/m32r/Makefile.am +++ b/contrib/crossrpms/rtems4.11/m32r/Makefile.am @@ -11,12 +11,12 @@ BINUTILS_RPMREL = 2 include ../binutils.am BINUTILS_OPTS += -GCC_VERS = 4.5.0 -GCC_PKGVERS = $(GCC_VERS) -GCC_RPMREL = 15 +GCC_VERS = 4.5.1 +GCC_PKGVERS = $(GCC_VERS)-RC-20100722 +GCC_RPMREL = 1 NEWLIB_VERS = 1.18.0 NEWLIB_PKGVERS = $(NEWLIB_VERS) -NEWLIB_RPMREL = `expr $(GCC_RPMREL)` +NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 15` include ../gcc.am GCC_OPTS += diff --git a/contrib/crossrpms/rtems4.11/m32r/gcc-sources.add b/contrib/crossrpms/rtems4.11/m32r/gcc-sources.add index b532a39db3..12acbd4738 100644 --- a/contrib/crossrpms/rtems4.11/m32r/gcc-sources.add +++ b/contrib/crossrpms/rtems4.11/m32r/gcc-sources.add @@ -1,3 +1,7 @@ +%if "%{gcc_version}" == "4.5.1" +Source0: ftp://gnu.gcc.org/pub/gcc/snapshots/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 +Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.1-rtems4.11-20100726.diff +%endif %if "%{gcc_version}" == "4.5.0" Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4.11-20100609.diff @@ -5,6 +9,9 @@ Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.0-rtems4 %{?_without_sources:NoSource: 0} %if %build_cxx +%if "%{gcc_version}" == "4.5.1" +Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 +%endif %if "%{gcc_version}" == "4.5.0" Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2 %endif |