source: rtems-source-builder/bare/config/devel/qemu-couverture-git-1.cfg @ 6ac3ed8

5
Last change on this file since 6ac3ed8 was 6ac3ed8, checked in by Chris Johns <chrisj@…>, on May 1, 2018 at 1:58:43 AM

bare/devel: Add qemu-couverture support.

Add a build set and configuration to build a QEMU we can use for
coverage testing.

  • Property mode set to 100644
File size: 1.2 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# Couverture QEMU Version.
15#
16%define qemu_version e9299f7591c8ecf3389922f4e7672b6bc5deae71
17%hash sha512 e9299f7591c8ecf3389922f4e7672b6bc5deae71.tar.gz b0479eefb8f067b97828b411b89c6b4ba4097477425a83b7ae439a3c0980c52cdbbbd2b7c85edb412ffe7f20b1822b65be008a989c815ceff72a493e551bbb78
18
19#
20# Couverture QEMU disables for this version.
21#
22%define qemu_disables --disable-virtfs --disable-gnutls --disable-docs
23
24#
25# Couverture QEMU architectures for this version.
26#
27%define qemu_archs arm-softmmu,i386-softmmu,lm32-softmmu,mips-softmmu,ppc-softmmu,sparc-softmmu
28
29#
30# Set Couverture-Qemu source from github.
31#
32%source set qemu https://github.com/AdaCore/qemu/archive/%{qemu_version}.tar.gz
33
34#
35# Patch to send halt signal to qemu-system-or32 process when RTEMS terminates
36#
37%patch add qemu %{rtems_http_git}/rtems-tools/plain/tools/qemu/0001-openrisc-terminate-qemu-process-upon-receiving-a-hal.patch
38%hash sha256 0001-openrisc-terminate-qemu-process-upon-receiving-a-hal.patch 88cd5c9e6e2a6bab23bf049a6f4212ff00083b002b73dbe63b2fe9832717f19e
39
40#
41# The Qemu build instructions. We use 1.x.x Release 1.
42#
43%include %{_configdir}/qemu-1-1.cfg
Note: See TracBrowser for help on using the repository browser.