config: Update the NIOS2 configuration for the new %source command.

This commit is contained in:
Chris Johns 2014-06-01 17:58:55 +10:00
parent 4a315d364a
commit 396db466ac

View File

@ -64,15 +64,13 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
# gcc
source_dir_gcc="gcc-%{gcc_version}"
%source setup gcc -q -c -n %{name}-%{version}
cd ${source_dir_gcc}
%source setup gcc -q -b -n gcc-%{gcc_version}
%patch setup gcc -p1
cd ${build_top}
# newlib
source_dir_newlib="newlib-%{newlib_version}"
%source setup newlib -q -D -n %{name}-%{version}
cd ${source_dir_newlib}
%source setup newlib -q -b -n newlib-%{newlib_version}
%patch setup newlib -p1
cd ${build_top}