mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-27 06:58:19 +00:00
New.
This commit is contained in:
2
contrib/crossrpms/rtems4.8/.cvsignore
Normal file
2
contrib/crossrpms/rtems4.8/.cvsignore
Normal file
@@ -0,0 +1,2 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
15
contrib/crossrpms/rtems4.8/Makefile.am
Normal file
15
contrib/crossrpms/rtems4.8/Makefile.am
Normal file
@@ -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
|
||||
4
contrib/crossrpms/rtems4.8/arm/.cvsignore
Normal file
4
contrib/crossrpms/rtems4.8/arm/.cvsignore
Normal file
@@ -0,0 +1,4 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
*.spec
|
||||
*.spec.in
|
||||
19
contrib/crossrpms/rtems4.8/arm/Makefile.am
Normal file
19
contrib/crossrpms/rtems4.8/arm/Makefile.am
Normal file
@@ -0,0 +1,19 @@
|
||||
# $Id$
|
||||
|
||||
TARGET = arm-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
|
||||
5
contrib/crossrpms/rtems4.8/arm/binutils-sources.add
Normal file
5
contrib/crossrpms/rtems4.8/arm/binutils-sources.add
Normal file
@@ -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
|
||||
41
contrib/crossrpms/rtems4.8/arm/gcc-sources.add
Normal file
41
contrib/crossrpms/rtems4.8/arm/gcc-sources.add
Normal file
@@ -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
|
||||
3
contrib/crossrpms/rtems4.8/arm/gdb-sources.add
Normal file
3
contrib/crossrpms/rtems4.8/arm/gdb-sources.add
Normal file
@@ -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
|
||||
4
contrib/crossrpms/rtems4.8/avr/.cvsignore
Normal file
4
contrib/crossrpms/rtems4.8/avr/.cvsignore
Normal file
@@ -0,0 +1,4 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
*.spec
|
||||
*.spec.in
|
||||
19
contrib/crossrpms/rtems4.8/avr/Makefile.am
Normal file
19
contrib/crossrpms/rtems4.8/avr/Makefile.am
Normal file
@@ -0,0 +1,19 @@
|
||||
# $Id$
|
||||
|
||||
TARGET = avr-rtems4.8
|
||||
|
||||
include $(top_srcdir)/mkspec.am
|
||||
|
||||
BINUTILS_VERS = 2.17
|
||||
BINUTILS_RPMREL = 3
|
||||
include ../binutils.am
|
||||
|
||||
GCC_VERS = 4.0.3
|
||||
GCC_RPMREL = 3
|
||||
NEWLIB_VERS = 1.14.0
|
||||
include ../gcc.am
|
||||
GCC_OPTS +=
|
||||
|
||||
GDB_VERS = 6.5
|
||||
GDB_RPMREL = 2
|
||||
include ../gdb.am
|
||||
5
contrib/crossrpms/rtems4.8/avr/binutils-sources.add
Normal file
5
contrib/crossrpms/rtems4.8/avr/binutils-sources.add
Normal file
@@ -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
|
||||
41
contrib/crossrpms/rtems4.8/avr/gcc-sources.add
Normal file
41
contrib/crossrpms/rtems4.8/avr/gcc-sources.add
Normal file
@@ -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
|
||||
3
contrib/crossrpms/rtems4.8/avr/gdb-sources.add
Normal file
3
contrib/crossrpms/rtems4.8/avr/gdb-sources.add
Normal file
@@ -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
|
||||
4
contrib/crossrpms/rtems4.8/bfin/.cvsignore
Normal file
4
contrib/crossrpms/rtems4.8/bfin/.cvsignore
Normal file
@@ -0,0 +1,4 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
*.spec
|
||||
*.spec.in
|
||||
22
contrib/crossrpms/rtems4.8/bfin/Makefile.am
Normal file
22
contrib/crossrpms/rtems4.8/bfin/Makefile.am
Normal file
@@ -0,0 +1,22 @@
|
||||
# $Id$
|
||||
|
||||
TARGET = bfin-rtems4.8
|
||||
|
||||
include $(top_srcdir)/mkspec.am
|
||||
|
||||
BINUTILS_VERS = 2.17
|
||||
BINUTILS_RPMREL = 1
|
||||
include ../binutils.am
|
||||
|
||||
GCC_VERS = 4.1.1
|
||||
GCC_RPMREL = 1
|
||||
NEWLIB_VERS = 1.14.0
|
||||
include ../gcc.am
|
||||
## GCC_OPTS += --languages=cxx
|
||||
## I really would like to get these options passed through but do not
|
||||
## know how yet. So I am building with this command.
|
||||
## optargs="--disable-libssp --disable-libstdcxx-pch" rpmbuild -ba XXX.spec
|
||||
|
||||
GDB_VERS = 6.5
|
||||
GDB_RPMREL = 1
|
||||
include ../gdb.am
|
||||
5
contrib/crossrpms/rtems4.8/bfin/binutils-sources.add
Normal file
5
contrib/crossrpms/rtems4.8/bfin/binutils-sources.add
Normal file
@@ -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
|
||||
41
contrib/crossrpms/rtems4.8/bfin/gcc-sources.add
Normal file
41
contrib/crossrpms/rtems4.8/bfin/gcc-sources.add
Normal file
@@ -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
|
||||
3
contrib/crossrpms/rtems4.8/bfin/gdb-sources.add
Normal file
3
contrib/crossrpms/rtems4.8/bfin/gdb-sources.add
Normal file
@@ -0,0 +1,3 @@
|
||||
Source0: ftp://ftp.gnu.org/pub/gdb/gdb-%{gdb_version}.tar.bz2
|
||||
%{?_without_sources:NoSource: 0}
|
||||
Patch0: gdb-6.5-bfinrtems-20060810a.diff
|
||||
28
contrib/crossrpms/rtems4.8/binutils.am
Normal file
28
contrib/crossrpms/rtems4.8/binutils.am
Normal file
@@ -0,0 +1,28 @@
|
||||
EXTRA_DIST += binutils-sources.add
|
||||
|
||||
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_RPMREL[@]/$(BINUTILS_RPMREL)/g" \
|
||||
-e "/--with-sysroot/d" \
|
||||
> $(TARGET)-binutils.spec.in
|
||||
CLEANFILES += $(TARGET)-binutils.spec.in
|
||||
|
||||
@rpmprefix@$(TARGET)-binutils.spec: $(TARGET)-binutils.spec.in
|
||||
$(MKSPEC) $(TARGET)-binutils.spec.in | $(SPECSTRIP) > $@
|
||||
CLEANFILES += @rpmprefix@$(TARGET)-binutils.spec
|
||||
noinst_DATA += @rpmprefix@$(TARGET)-binutils.spec
|
||||
|
||||
EXTRA_DIST += $(BINUTILS_SUBPACKAGES)
|
||||
9
contrib/crossrpms/rtems4.8/gcc-prep.add
Normal file
9
contrib/crossrpms/rtems4.8/gcc-prep.add
Normal file
@@ -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_version}/gcc/version.c > gcc-%{gcc_version}/gcc/version.c~
|
||||
%else
|
||||
sed -e 's/^#define VERSUFFIX.*$/#define VERSUFFIX \" (RTEMS gcc-%{gcc_version}\/newlib-%{newlib_version}-%{release})\"/' \
|
||||
gcc-%{gcc_version}/gcc/version.c > gcc-%{gcc_version}/gcc/version.c~
|
||||
%endif
|
||||
mv gcc-%{gcc_version}/gcc/version.c~ gcc-%{gcc_version}/gcc/version.c
|
||||
|
||||
42
contrib/crossrpms/rtems4.8/gcc.am
Normal file
42
contrib/crossrpms/rtems4.8/gcc.am
Normal file
@@ -0,0 +1,42 @@
|
||||
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_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" \
|
||||
> $(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)
|
||||
28
contrib/crossrpms/rtems4.8/gdb.am
Normal file
28
contrib/crossrpms/rtems4.8/gdb.am
Normal file
@@ -0,0 +1,28 @@
|
||||
EXTRA_DIST += gdb-sources.add
|
||||
|
||||
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_RPMREL[@]/$(GDB_RPMREL)/g" \
|
||||
-e "/--with-sysroot/d" \
|
||||
> $(TARGET)-gdb.spec.in
|
||||
CLEANFILES += $(TARGET)-gdb.spec.in
|
||||
|
||||
@rpmprefix@$(TARGET)-gdb.spec: $(TARGET)-gdb.spec.in
|
||||
$(MKSPEC) $(TARGET)-gdb.spec.in | $(SPECSTRIP) > $@
|
||||
CLEANFILES += @rpmprefix@$(TARGET)-gdb.spec
|
||||
noinst_DATA += @rpmprefix@$(TARGET)-gdb.spec
|
||||
|
||||
EXTRA_DIST += $(GDB_SUBPACKAGES)
|
||||
4
contrib/crossrpms/rtems4.8/h8300/.cvsignore
Normal file
4
contrib/crossrpms/rtems4.8/h8300/.cvsignore
Normal file
@@ -0,0 +1,4 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
*.spec
|
||||
*.spec.in
|
||||
19
contrib/crossrpms/rtems4.8/h8300/Makefile.am
Normal file
19
contrib/crossrpms/rtems4.8/h8300/Makefile.am
Normal file
@@ -0,0 +1,19 @@
|
||||
# $Id$
|
||||
|
||||
TARGET = h8300-rtems4.8
|
||||
|
||||
include $(top_srcdir)/mkspec.am
|
||||
|
||||
BINUTILS_VERS = 2.17
|
||||
BINUTILS_RPMREL = 3
|
||||
include ../binutils.am
|
||||
|
||||
GCC_VERS = 4.1.1
|
||||
GCC_RPMREL = 6
|
||||
NEWLIB_VERS = 1.14.0
|
||||
include ../gcc.am
|
||||
GCC_OPTS += --languages=cxx
|
||||
|
||||
GDB_VERS = 6.5
|
||||
GDB_RPMREL = 2
|
||||
include ../gdb.am
|
||||
8
contrib/crossrpms/rtems4.8/h8300/binutils-sources.add
Normal file
8
contrib/crossrpms/rtems4.8/h8300/binutils-sources.add
Normal file
@@ -0,0 +1,8 @@
|
||||
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
|
||||
%if "%{binutils_version}" == "2.17"
|
||||
Patch0: binutils-2.17-rtems-20060815.diff
|
||||
%endif
|
||||
41
contrib/crossrpms/rtems4.8/h8300/gcc-sources.add
Normal file
41
contrib/crossrpms/rtems4.8/h8300/gcc-sources.add
Normal file
@@ -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
|
||||
3
contrib/crossrpms/rtems4.8/h8300/gdb-sources.add
Normal file
3
contrib/crossrpms/rtems4.8/h8300/gdb-sources.add
Normal file
@@ -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
|
||||
4
contrib/crossrpms/rtems4.8/i386/.cvsignore
Normal file
4
contrib/crossrpms/rtems4.8/i386/.cvsignore
Normal file
@@ -0,0 +1,4 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
*.spec
|
||||
*.spec.in
|
||||
19
contrib/crossrpms/rtems4.8/i386/Makefile.am
Normal file
19
contrib/crossrpms/rtems4.8/i386/Makefile.am
Normal file
@@ -0,0 +1,19 @@
|
||||
# $Id$
|
||||
|
||||
TARGET = i386-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
|
||||
5
contrib/crossrpms/rtems4.8/i386/binutils-sources.add
Normal file
5
contrib/crossrpms/rtems4.8/i386/binutils-sources.add
Normal file
@@ -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
|
||||
41
contrib/crossrpms/rtems4.8/i386/gcc-sources.add
Normal file
41
contrib/crossrpms/rtems4.8/i386/gcc-sources.add
Normal file
@@ -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
|
||||
3
contrib/crossrpms/rtems4.8/i386/gdb-sources.add
Normal file
3
contrib/crossrpms/rtems4.8/i386/gdb-sources.add
Normal file
@@ -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
|
||||
4
contrib/crossrpms/rtems4.8/m68k/.cvsignore
Normal file
4
contrib/crossrpms/rtems4.8/m68k/.cvsignore
Normal file
@@ -0,0 +1,4 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
*.spec
|
||||
*.spec.in
|
||||
19
contrib/crossrpms/rtems4.8/m68k/Makefile.am
Normal file
19
contrib/crossrpms/rtems4.8/m68k/Makefile.am
Normal file
@@ -0,0 +1,19 @@
|
||||
# $Id$
|
||||
|
||||
TARGET = m68k-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
|
||||
8
contrib/crossrpms/rtems4.8/m68k/binutils-sources.add
Normal file
8
contrib/crossrpms/rtems4.8/m68k/binutils-sources.add
Normal file
@@ -0,0 +1,8 @@
|
||||
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
|
||||
%if "%{binutils_version}" == "2.17"
|
||||
Patch0: binutils-2.17-rtems-20060815.diff
|
||||
%endif
|
||||
41
contrib/crossrpms/rtems4.8/m68k/gcc-sources.add
Normal file
41
contrib/crossrpms/rtems4.8/m68k/gcc-sources.add
Normal file
@@ -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
|
||||
3
contrib/crossrpms/rtems4.8/m68k/gdb-sources.add
Normal file
3
contrib/crossrpms/rtems4.8/m68k/gdb-sources.add
Normal file
@@ -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
|
||||
4
contrib/crossrpms/rtems4.8/mips/.cvsignore
Normal file
4
contrib/crossrpms/rtems4.8/mips/.cvsignore
Normal file
@@ -0,0 +1,4 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
*.spec
|
||||
*.spec.in
|
||||
19
contrib/crossrpms/rtems4.8/mips/Makefile.am
Normal file
19
contrib/crossrpms/rtems4.8/mips/Makefile.am
Normal file
@@ -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
|
||||
5
contrib/crossrpms/rtems4.8/mips/binutils-sources.add
Normal file
5
contrib/crossrpms/rtems4.8/mips/binutils-sources.add
Normal file
@@ -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
|
||||
41
contrib/crossrpms/rtems4.8/mips/gcc-sources.add
Normal file
41
contrib/crossrpms/rtems4.8/mips/gcc-sources.add
Normal file
@@ -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
|
||||
3
contrib/crossrpms/rtems4.8/mips/gdb-sources.add
Normal file
3
contrib/crossrpms/rtems4.8/mips/gdb-sources.add
Normal file
@@ -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
|
||||
4
contrib/crossrpms/rtems4.8/mipstx39/.cvsignore
Normal file
4
contrib/crossrpms/rtems4.8/mipstx39/.cvsignore
Normal file
@@ -0,0 +1,4 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
*.spec
|
||||
*.spec.in
|
||||
10
contrib/crossrpms/rtems4.8/mipstx39/Makefile.am
Normal file
10
contrib/crossrpms/rtems4.8/mipstx39/Makefile.am
Normal file
@@ -0,0 +1,10 @@
|
||||
# $Id$
|
||||
|
||||
TARGET = mipstx39-rtems4.8
|
||||
|
||||
include $(top_srcdir)/mkspec.am
|
||||
|
||||
# We only want a gdb with a tx39 simulator in it. We share the other tools
|
||||
GDB_VERS = 6.5
|
||||
GDB_RPMREL = 2
|
||||
include ../gdb.am
|
||||
3
contrib/crossrpms/rtems4.8/mipstx39/gdb-sources.add
Normal file
3
contrib/crossrpms/rtems4.8/mipstx39/gdb-sources.add
Normal file
@@ -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
|
||||
4
contrib/crossrpms/rtems4.8/powerpc/.cvsignore
Normal file
4
contrib/crossrpms/rtems4.8/powerpc/.cvsignore
Normal file
@@ -0,0 +1,4 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
*.spec
|
||||
*.spec.in
|
||||
19
contrib/crossrpms/rtems4.8/powerpc/Makefile.am
Normal file
19
contrib/crossrpms/rtems4.8/powerpc/Makefile.am
Normal file
@@ -0,0 +1,19 @@
|
||||
# $Id$
|
||||
|
||||
TARGET = powerpc-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
|
||||
5
contrib/crossrpms/rtems4.8/powerpc/binutils-sources.add
Normal file
5
contrib/crossrpms/rtems4.8/powerpc/binutils-sources.add
Normal file
@@ -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
|
||||
41
contrib/crossrpms/rtems4.8/powerpc/gcc-sources.add
Normal file
41
contrib/crossrpms/rtems4.8/powerpc/gcc-sources.add
Normal file
@@ -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
|
||||
3
contrib/crossrpms/rtems4.8/powerpc/gdb-sources.add
Normal file
3
contrib/crossrpms/rtems4.8/powerpc/gdb-sources.add
Normal file
@@ -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
|
||||
4
contrib/crossrpms/rtems4.8/sh/.cvsignore
Normal file
4
contrib/crossrpms/rtems4.8/sh/.cvsignore
Normal file
@@ -0,0 +1,4 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
*.spec
|
||||
*.spec.in
|
||||
19
contrib/crossrpms/rtems4.8/sh/Makefile.am
Normal file
19
contrib/crossrpms/rtems4.8/sh/Makefile.am
Normal file
@@ -0,0 +1,19 @@
|
||||
# $Id$
|
||||
|
||||
TARGET = sh-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
|
||||
5
contrib/crossrpms/rtems4.8/sh/binutils-sources.add
Normal file
5
contrib/crossrpms/rtems4.8/sh/binutils-sources.add
Normal file
@@ -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
|
||||
41
contrib/crossrpms/rtems4.8/sh/gcc-sources.add
Normal file
41
contrib/crossrpms/rtems4.8/sh/gcc-sources.add
Normal file
@@ -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
|
||||
3
contrib/crossrpms/rtems4.8/sh/gdb-sources.add
Normal file
3
contrib/crossrpms/rtems4.8/sh/gdb-sources.add
Normal file
@@ -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
|
||||
4
contrib/crossrpms/rtems4.8/sparc/.cvsignore
Normal file
4
contrib/crossrpms/rtems4.8/sparc/.cvsignore
Normal file
@@ -0,0 +1,4 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
*.spec
|
||||
*.spec.in
|
||||
19
contrib/crossrpms/rtems4.8/sparc/Makefile.am
Normal file
19
contrib/crossrpms/rtems4.8/sparc/Makefile.am
Normal file
@@ -0,0 +1,19 @@
|
||||
# $Id$
|
||||
|
||||
TARGET = sparc-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
|
||||
5
contrib/crossrpms/rtems4.8/sparc/binutils-sources.add
Normal file
5
contrib/crossrpms/rtems4.8/sparc/binutils-sources.add
Normal file
@@ -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
|
||||
41
contrib/crossrpms/rtems4.8/sparc/gcc-sources.add
Normal file
41
contrib/crossrpms/rtems4.8/sparc/gcc-sources.add
Normal file
@@ -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
|
||||
3
contrib/crossrpms/rtems4.8/sparc/gdb-sources.add
Normal file
3
contrib/crossrpms/rtems4.8/sparc/gdb-sources.add
Normal file
@@ -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
|
||||
4
contrib/crossrpms/rtems4.8/tic4x/.cvsignore
Normal file
4
contrib/crossrpms/rtems4.8/tic4x/.cvsignore
Normal file
@@ -0,0 +1,4 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
*.spec
|
||||
*.spec.in
|
||||
19
contrib/crossrpms/rtems4.8/tic4x/Makefile.am
Normal file
19
contrib/crossrpms/rtems4.8/tic4x/Makefile.am
Normal file
@@ -0,0 +1,19 @@
|
||||
# $Id$
|
||||
|
||||
TARGET = tic4x-rtems4.8
|
||||
|
||||
include $(top_srcdir)/mkspec.am
|
||||
|
||||
BINUTILS_VERS = 2.17
|
||||
BINUTILS_RPMREL = 3
|
||||
include ../binutils.am
|
||||
|
||||
GCC_VERS = 3.4.6
|
||||
GCC_RPMREL = 2
|
||||
NEWLIB_VERS = 1.14.0
|
||||
include ../gcc.am
|
||||
GCC_OPTS +=
|
||||
|
||||
### GDB-6.4 doesn't support the tic4x
|
||||
## GDB_VERS = 6.4
|
||||
## include ../gdb.am
|
||||
5
contrib/crossrpms/rtems4.8/tic4x/binutils-sources.add
Normal file
5
contrib/crossrpms/rtems4.8/tic4x/binutils-sources.add
Normal file
@@ -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
|
||||
41
contrib/crossrpms/rtems4.8/tic4x/gcc-sources.add
Normal file
41
contrib/crossrpms/rtems4.8/tic4x/gcc-sources.add
Normal file
@@ -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
|
||||
3
contrib/crossrpms/rtems4.8/tic4x/gdb-sources.add
Normal file
3
contrib/crossrpms/rtems4.8/tic4x/gdb-sources.add
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user