bare/qemu: Use git if the RSB is not release or without a release URL.

Updates #2661.
This commit is contained in:
Chris Johns 2016-03-18 15:12:23 +11:00
parent f8e76927bc
commit 57b93eb705
2 changed files with 5 additions and 3 deletions

View File

@ -5,7 +5,7 @@
#
# The RTEMS http git URL.
#
%define rtems_version 4.12
%define rtems_version 4.11
%define rtems_http_git http://git.rtems.org
%define rtems_git_tools %{rtems_http_git}/rtems-tools/plain/tools/%{rtems_version}
%define bare_binutils_patches %{rtems_git_tools}/binutils

View File

@ -16,9 +16,11 @@
%define qemu_version 42d58e7c6760cb9c55627c28ae538e27dcf2f144
#
# Qemu is from GIT.
# Qemu is from GIT unless the RSB has been released.
#
%if %{rsb_released}
# We need to handle the release process
#
%if %{rsb_released} && %{!defined without_release_url}
%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