mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Fixes to the NIOS2 build on FreeBSD.
This commit is contained in:
parent
0328944c57
commit
aa46b9cec0
@ -13,7 +13,7 @@
|
||||
#
|
||||
# Source
|
||||
#
|
||||
Source0: http://www.rtems.org/ftp/people/chrisj/nios/nios2-binutils-2.20.tar.bz2
|
||||
Source0: http://www.rtems.org/ftp/pub/rtems/people/chrisj/nios/nios2-binutils-2.20.tar.bz2
|
||||
Patch0: nios2-binutils-2.20-rtems-20110703.diff
|
||||
|
||||
#
|
||||
|
@ -37,7 +37,7 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
|
||||
#
|
||||
# GCC core and G++
|
||||
#
|
||||
Source0: http://www.rtems.org/ftp/people/chrisj/nios/nios2-gcc-4.1.tar.bz2
|
||||
Source0: http://www.rtems.org/ftp/pub/rtems/people/chrisj/nios/nios2-gcc-4.1.tar.bz2
|
||||
|
||||
#
|
||||
# Newlib
|
||||
@ -123,7 +123,8 @@ Source10: ftp://sourceware.org/pub/newlib/newlib-%{newlib_version}.tar.gz
|
||||
cp ../gcc-%{gcc_version}/gcc/gsyslimits.h gcc/include/syslimits.h
|
||||
%endif
|
||||
|
||||
%{__make} -w %{?_smp_mflags} N2GNU_BUILD_NEWLIB="%{newlib_cfg}" all
|
||||
# jobs > 1 is broken with this version of gcc
|
||||
%{__make} -w N2GNU_BUILD_NEWLIB="%{newlib_cfg}" all
|
||||
cd ..
|
||||
|
||||
%install
|
||||
|
@ -7,7 +7,9 @@
|
||||
|
||||
%define gdb_version 7.0
|
||||
|
||||
Source0: http://www.rtems.org/ftp/people/chrisj/nios/nios2-gdb-7.0.tar.bz2
|
||||
%define without_python
|
||||
|
||||
Source0: http://www.rtems.org/ftp/pub/rtems/people/chrisj/nios/nios2-gdb-7.0.tar.bz2
|
||||
|
||||
#
|
||||
# The gdb build instructions. We use 7.xx Release 1.
|
||||
|
@ -47,7 +47,7 @@ cd ..
|
||||
--disable-werror \
|
||||
--enable-sim \
|
||||
--with-expat \
|
||||
--with-python \
|
||||
%{!?without_python:--with-python} \
|
||||
--prefix=%{_prefix} --bindir=%{_bindir} \
|
||||
--exec-prefix=%{_exec_prefix} \
|
||||
--includedir=%{_includedir} --libdir=%{_libdir} \
|
||||
|
Loading…
x
Reference in New Issue
Block a user