bare/qemu: Use a tarfile is the RSB is released.

Updates #2661.
This commit is contained in:
Chris Johns 2016-03-18 13:50:10 +11:00
parent 87434f6a7c
commit 2bbb06524b

View File

@ -18,7 +18,11 @@
#
# Qemu is from GIT.
#
%source set qemu git://git.qemu-project.org/qemu.git?pull?checkout=%{qemu_version}?submodule=dtc
%if %{rsb_released}
%source set qemu %{rtems_release_url}/%{rtems_version}/sources/qemu-git-42d58e7.tar.xz
%else
%source set qemu git://git.qemu-project.org/qemu.git?pull?checkout=%{qemu_version}?submodule=dtc
%fi
#
# Patches from Qemu's patchworks site.
@ -50,10 +54,6 @@
%patch add qemu %{rtems_http_git}/rtems-tools/plain/tools/qemu/0001-openrisc-terminate-qemu-process-upon-receiving-a-hal.patch
%hash md5 0001-openrisc-terminate-qemu-process-upon-receiving-a-hal.patch 6aa9dfc4522466ab4a463129b3b9cb1d
%if %{_host} == mingw32
%patch add qemu pw://patchwork.ozlabs.org/patch/99999999/raw/qemu-channel-win32-cdecls.patch
%endif
#
# The Qemu build instructions. We use 1.x.x Release 1.
#