build qemu-kvm on ARMv7

This commit is contained in:
Peter Robinson 2013-06-01 23:30:46 +01:00
parent f81e73803f
commit 441340007b

View File

@ -45,9 +45,9 @@
%global SLOF_gittagdate 20130430 %global SLOF_gittagdate 20130430
%if %{without separate_kvm} %if %{without separate_kvm}
%global kvm_archs %{ix86} x86_64 ppc64 s390x %global kvm_archs %{ix86} x86_64 ppc64 s390x armv7hl
%else %else
%global kvm_archs %{ix86} ppc64 s390x %global kvm_archs %{ix86} ppc64 s390x armv7hl
%endif %endif
%if %{with exclusive_x86_64} %if %{with exclusive_x86_64}
%global kvm_archs x86_64 %global kvm_archs x86_64
@ -100,6 +100,12 @@
%global kvm_target s390x %global kvm_target s390x
%global need_kvm_modfile 1 %global need_kvm_modfile 1
%endif %endif
%ifarch armv7hl
%global system_arm kvm
%global kvm_package system-arm
%global kvm_target arm
%global need_qemu_kvm 1
%endif
%if %{with kvmonly} %if %{with kvmonly}
# If kvmonly, put the qemu-kvm binary in the qemu-kvm package # If kvmonly, put the qemu-kvm binary in the qemu-kvm package
@ -134,7 +140,7 @@
Summary: QEMU is a FAST! processor emulator Summary: QEMU is a FAST! processor emulator
Name: qemu Name: qemu
Version: 1.5.0 Version: 1.5.0
Release: 3%{?dist} Release: 4%{?dist}
Epoch: 2 Epoch: 2
License: GPLv2+ and LGPLv2+ and BSD License: GPLv2+ and LGPLv2+ and BSD
Group: Development/Tools Group: Development/Tools
@ -1154,7 +1160,7 @@ getent passwd qemu >/dev/null || \
%{_datadir}/%{name}/efi-ne2k_pci.rom %{_datadir}/%{name}/efi-ne2k_pci.rom
%config(noreplace) %{_sysconfdir}/qemu/target-x86_64.conf %config(noreplace) %{_sysconfdir}/qemu/target-x86_64.conf
%if %{without separate_kvm} %if %{without separate_kvm}
%ifarch %{ix86} x86_64 %ifarch %{ix86} x86_64 %{arm}
%{?kvm_files:} %{?kvm_files:}
%{?qemu_kvm_files:} %{?qemu_kvm_files:}
%endif %endif
@ -1182,6 +1188,7 @@ getent passwd qemu >/dev/null || \
%{_bindir}/qemu-system-arm %{_bindir}/qemu-system-arm
%{_datadir}/systemtap/tapset/qemu-system-arm.stp %{_datadir}/systemtap/tapset/qemu-system-arm.stp
%{_mandir}/man1/qemu-system-arm.1* %{_mandir}/man1/qemu-system-arm.1*
%{?kvm_files:}
%endif %endif
%if 0%{?system_mips:1} %if 0%{?system_mips:1}
@ -1357,6 +1364,9 @@ getent passwd qemu >/dev/null || \
%endif %endif
%changelog %changelog
* Sat Jun 1 2013 Peter Robinson <pbrobinson@fedoraproject.org> 2:1.5.0-4
- build qemu-kvm on ARMv7
* Mon May 27 2013 Dan Horák <dan[at]danny.cz> - 2:1.5.0-3 * Mon May 27 2013 Dan Horák <dan[at]danny.cz> - 2:1.5.0-3
- Install the qemu-kvm.1 man page only on arches with kvm - Install the qemu-kvm.1 man page only on arches with kvm