source: rtems-source-builder/bare/config/devel/qemu4-git-1.cfg @ 4c51cd9

5
Last change on this file since 4c51cd9 was 4c51cd9, checked in by Jiri Gaisler <jiri@…>, on 08/19/19 at 20:12:26

Added qemu 4.1.0 as bare target

  • target name is devel/qemu4, old qemu preserved as devel/qemu
  • Property mode set to 100644
File size: 2.1 KB
Line 
1#
2# Qemu from git
3#
4
5%if %{release} == %{nil}
6 %define release 1
7%endif
8
9%include %{_configdir}/base.cfg
10
11%include %{_configdir}/bare-config.cfg
12
13#
14# Stable version. Qemu is fast moving.
15#
16%define qemu_version v4.1.0
17
18#
19# Qemu is from GIT unless the RSB has been released.
20#
21# We need to handle the release process
22#
23%if %{rsb_released} && %{!defined without_release_url}
24 %source set qemu %{rtems_release_url}/%{rtems_version}/sources/qemu-git-42d58e7.tar.xz
25%else
26 %source set qemu git://git.qemu-project.org/qemu.git?pull?checkout=%{qemu_version}?submodule=dtc
27%endif
28
29#
30# Patches from Qemu's patchworks site.
31#
32%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
33%hash sha256 Provide-the-missing-LIBUSB_LOG_LEVEL_-for-older-libusb-or-FreeBSD.-Providing-just-the-needed-value-as-a-defined..patch 40399fcedb44b2c1bfa1a95af482f7f335f42d713967ed2f34980a7a940c3740
34
35#
36# These patches are broken.
37#
38#%patch add qemu pw://patchwork.ozlabs.org/patch/347503/raw/CAN-bus-simple-SJA1000-PCI-card-emulation-for-QEMU.patch
39#%hash md5 CAN-bus-simple-SJA1000-PCI-card-emulation-for-QEMU.patch fbbe8f02867b8b8ee7c23c83cf1e1efa
40#%patch add qemu pw://patchwork.ozlabs.org/patch/347502/raw/CAN-bus-Kvaser-PCI-CAN-S-single-SJA1000-channel-emulation-added.patch
41#%hash md5 CAN-bus-Kvaser-PCI-CAN-S-single-SJA1000-channel-emulation-added.patch 7bd24fa8b55116c9a1301afd7dfa69d3
42
43#
44# Patches to build qemu-4.1.0-sparc with Leon3 support
45#
46%patch add qemu https://gaisler.se/qemu/qemu-4.1.0-leon3.patch
47%hash sha256 qemu-4.1.0-leon3.patch d62ff3418903f1c5eb7f6d727af0400caeb250e23cc120111930601c9ecce02a
48
49#
50# Patch to send halt signal to qemu-system-or32 process when RTEMS terminates
51#
52#%patch add qemu %{rtems_http_git}/rtems-tools/plain/tools/qemu/0001-openrisc-terminate-qemu-process-upon-receiving-a-hal.patch
53#%hash sha256 0001-openrisc-terminate-qemu-process-upon-receiving-a-hal.patch 88cd5c9e6e2a6bab23bf049a6f4212ff00083b002b73dbe63b2fe9832717f19e
54
55#
56# The Qemu build instructions. We use 4.x.x Release 1.
57#
58%include %{_configdir}/qemu-4-1.cfg
Note: See TracBrowser for help on using the repository browser.