NIOS2 Tools based on Altera's 4.11 tool set.

Add support for building the NIOS2 tool set. The source
is based on the Altera 4.11 src package. This package has been
split up and placed on the rtems.org server.
This commit is contained in:
Chris Johns
2013-02-12 11:46:29 +11:00
parent 6fad89b9b0
commit 0328944c57
9 changed files with 126486 additions and 5 deletions

View File

@@ -16,8 +16,10 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
#
# Source
#
Source0: ftp://ftp.gnu.org/gnu/binutils/binutils-%{binutils_version}.tar.bz2
VersionControl0: cvs -z 9 -d :pserver:anoncvs@sourceware.org:/cvs/src co binutils
%ifn %{defined Source0}
Source0: ftp://ftp.gnu.org/gnu/binutils/binutils-%{binutils_version}.tar.bz2
VersionControl0: cvs -z 9 -d :pserver:anoncvs@sourceware.org:/cvs/src co binutils
%endif
#
# Prepare the source code.
@@ -33,8 +35,11 @@ cd ..
export PATH="%{_bindir}:${PATH}"
mkdir -p build
cd build
%if %{host_force_32bit} == %{nil}
HOST_FORCE_32BIT="-m32"
%endif
%if "%{_build}" != "%{_host}"
CFLAGS_FOR_BUILD="-g -O2 -Wall" \
CFLAGS_FOR_BUILD="-g -O2 -Wall ${HOST_FORCE_32BIT}" \
%endif
CFLAGS="$SB_OPT_FLAGS" \
../binutils-%{binutils_version}/configure \

View File

@@ -16,8 +16,10 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
#
# Source
#
Source0: http://ftp.gnu.org/gnu/gdb/gdb-%{gdb_version}.tar.bz2
VersionControl0 git clone git://sourceware.org/git/gdb.git
%ifn %{defined Source0}
Source0: http://ftp.gnu.org/gnu/gdb/gdb-%{gdb_version}.tar.bz2
VersionControl0 git clone git://sourceware.org/git/gdb.git
%endif
#
# Prepare the source code.