mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00

Git cannot be used for a release as our release process does not package the source in a manner qemu expects. Closes #3976
43 lines
1.2 KiB
INI
43 lines
1.2 KiB
INI
#
|
|
# Qemu from git
|
|
#
|
|
|
|
%if %{release} == %{nil}
|
|
%define release 1
|
|
%endif
|
|
|
|
%include %{_configdir}/base.cfg
|
|
|
|
%include %{_configdir}/bare-config.cfg
|
|
|
|
#
|
|
# Stable version. Qemu is fast moving.
|
|
#
|
|
%define qemu_version 4.1.0
|
|
|
|
#
|
|
# Use release sources.
|
|
#
|
|
%source set qemu https://download.qemu.org/qemu-%{qemu_version}.tar.xz
|
|
%hash sha512 qemu-%{qemu_version}.tar.xz \
|
|
gv1RcCp7mxsAsvG9O0qDK4AkkBjbuhrdCwpz59S+5FKv1FV0tNjffORHfYcR872kygcqGm3iWJXJPrIc94/Esg==
|
|
|
|
#
|
|
# Patches from Qemu's patchworks site.
|
|
#
|
|
%patch add qemu pw://patchwork.ozlabs.org/patch/406903/raw/Provide-the-missing-LIBUSB_LOG_LEVEL_-for-older-libusb-or-FreeBSD.-Providing-just-the-needed-value-as-a-defined..patch
|
|
%hash sha256 Provide-the-missing-LIBUSB_LOG_LEVEL_-for-older-libusb-or-FreeBSD.-Providing-just-the-needed-value-as-a-defined..patch \
|
|
40399fcedb44b2c1bfa1a95af482f7f335f42d713967ed2f34980a7a940c3740
|
|
|
|
#
|
|
# Patches to build qemu-4.1.0-sparc with Leon3 support
|
|
#
|
|
%patch add qemu https://gaisler.se/qemu/qemu-4.1.0-leon3.patch
|
|
%hash sha256 qemu-4.1.0-leon3.patch \
|
|
d62ff3418903f1c5eb7f6d727af0400caeb250e23cc120111930601c9ecce02a
|
|
|
|
#
|
|
# The Qemu build instructions. We use 4.x.x Release 1.
|
|
#
|
|
%include %{_configdir}/qemu-4-1.cfg
|