[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xenstore: Portability: do not build init-xenstore-domain if stubdom disabled



# HG changeset patch
# User Christoph Egger <Christoph.Egger@xxxxxxx>
# Date 1330627955 0
# Node ID 48da78c0bd3a9e02da86a6b38941b032bae80e11
# Parent  54a61fee00ebd276fcc1ef6078377145dadc5ac7
xenstore: Portability: do not build init-xenstore-domain if stubdom disabled

Build stubxenstore only when building stubdomains.
Fixes build failure on platforms w/o the relevant ioctl.

Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---


diff -r 54a61fee00eb -r 48da78c0bd3a tools/xenstore/Makefile
--- a/tools/xenstore/Makefile   Thu Mar 01 18:22:01 2012 +0000
+++ b/tools/xenstore/Makefile   Thu Mar 01 18:52:35 2012 +0000
@@ -27,10 +27,11 @@
 xenstore xenstore-control: CFLAGS += -static
 endif
 
-ALL_TARGETS = libxenstore.so libxenstore.a clients xs_tdb_dump xenstored 
init-xenstore-domain
+ALL_TARGETS = libxenstore.so libxenstore.a clients xs_tdb_dump xenstored
 
 ifdef CONFIG_STUBDOM
 CFLAGS += -DNO_SOCKETS=1
+ALL_TARGETS += init-xenstore-domain
 endif
 
 .PHONY: all

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.