[Pkg-libvirt-commits] [libvirt] 03/04: Enable xen on armhf and amd64
Guido Guenther
agx at moszumanska.debian.org
Wed Aug 19 22:14:23 UTC 2015
This is an automated email from the git hooks/post-receive script.
agx pushed a commit to branch debian/experimental
in repository libvirt.
commit 1b01f3feb09c1fb3798bf7886fb0c1c212af06cf
Author: Guido Günther <agx at sigxcpu.org>
Date: Wed Aug 19 23:48:21 2015 +0200
Enable xen on armhf and amd64
Based on a patch by Yann Soubeyrand
Closes: #795516
---
debian/control | 4 ++--
debian/rules | 9 ++++++---
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/debian/control b/debian/control
index b9b33fe..be2774f 100644
--- a/debian/control
+++ b/debian/control
@@ -17,7 +17,7 @@ Build-Depends:
libgnutls28-dev,
libavahi-client-dev,
libsasl2-dev,
- libxen-dev (>= 4.3) [i386 amd64],
+ libxen-dev (>= 4.3) [i386 amd64 armhf arm64],
lvm2 [linux-any],
open-iscsi [linux-any],
libparted0-dev (>= 2.2),
@@ -206,7 +206,7 @@ Description: documentation for the libvirt library
Package: libvirt-dev
Architecture: any
Section: libdevel
-Depends: ${misc:Depends}, libvirt0 (= ${binary:Version}), libxen-dev [i386 amd64]
+Depends: ${misc:Depends}, libvirt0 (= ${binary:Version}), libxen-dev [i386 amd64 armhf arm64]
Replaces: libvirt-bin (<< 1.2.0~)
Recommends: pkg-config
Description: development files for the libvirt library
diff --git a/debian/rules b/debian/rules
index b954c75..b7077fb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,15 +7,18 @@ DEB_BUILDUSER=${USER}
ifneq (,$(findstring $(DEB_HOST_ARCH_OS), linux))
ifneq (,$(findstring $(DEB_HOST_ARCH), i386 amd64))
- WITH_XEN = --with-xen
- WITH_LIBXL = --with-libxl
WITH_VBOX = --with-vbox
MAKE_CHECK = 1
+ else
+ WITH_VBOX = --without-vbox
+ endif
+ ifneq (,$(findstring $(DEB_HOST_ARCH), i386 amd64 armhf arm64))
+ WITH_XEN = --with-xen
+ WITH_LIBXL = --with-libxl
XEN_ENABLED = 1
else
WITH_XEN = --without-xen
WITH_LIBXL = --without-libxl
- WITH_VBOX = --without-vbox
endif
WITH_STORAGE_LVM = --with-storage-lvm
WITH_STORAGE_ISCSI = --with-storage-iscsi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libvirt.git
More information about the Pkg-libvirt-commits
mailing list