mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
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:
@@ -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 \
|
||||
|
@@ -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.
|
||||
|
Reference in New Issue
Block a user