Skip to contentSkip to conversation

xenstore: build fix

PATCH In review Christoph Egger 3 participants 3 messages Feb 22, 2012 – Mar 1, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xenstore: build fix

Build stubxenstore only when building stubdomain. Fixes build failure on platforms w/o stubdomain support.

Signature · 6 lines
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85689 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
tools/xenstore/Makefile +2 -1
diff -r 6e2835b65842 tools/xenstore/Makefile
@@ -27,10 +27,11 @@ LIBXENSTORE := libxenstore.a
 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-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Christoph Egger

Build stubxenstore only when building stubdomain. Fixes build failure on platforms w/o stubdomain support.

Strictly speaking it is possible for a platform to support stub domains but not the necessary dom0 kernel interface to use this particular stub domain -- but we can cross that bridge if/when we come to it.

Ian.