summaryrefslogtreecommitdiffstats
path: root/bare/config/devel/qemu-xilinx-v2020.2-1.cfg
blob: ca70ebdfa8bc1d9c39743594b8ace46f96ee391b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#
# Xilinx Qemu from git
#

%if %{release} == %{nil}
 %define release 1
%endif

%include %{_configdir}/base.cfg

%include %{_configdir}/bare-config.cfg

%define qemu_version xilinx-v2020.2

#
# Checkout the version tag and initialize all submodules.
#
%source set qemu git://github.com/Xilinx/qemu.git?protocol=https?checkout=%{qemu_version}?submodule=dtc?submodule=slirp?submodule=ui/keycodemapdb?submodule=tests/fp/berkeley-softfloat-3?submodule=tests/fp/berkeley-testfloat-3

#
# Patch to fix cgem priority queue interrupt functionality issue
#
%patch add qemu --rsb-file=xlnx_cgem_zynqmp_versal.patch -p1 https://devel.rtems.org/raw-attachment/ticket/4919/0001-hw-arm-xlnx-Connect-secondary-CGEM-IRQs-xlnx.patch
%hash sha512 xlnx_cgem_zynqmp_versal.patch \
  tGjJn7o8/fQwdC0sgsYmPW6bqDzMkwhKRqBwuuy8sdEKivDj7uGISMj7p8Iwy9fkHiO3Dd3feno+iz5fHYGBkA==

#
# The Qemu build instructions. We use 5.x.x Release 1.
#
%include %{_configdir}/qemu-5-1.cfg