From: Christoph Egger Date: Thu, 1 Mar 2012 18:52:35 +0000 (+0000) Subject: xenstore: Portability: do not build init-xenstore-domain if stubdom disabled X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0c6cc72d62909f1fc7e876be4a0e63addb3425b0;p=xen.git 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 Committed-by: Ian Jackson --- diff --git a/tools/xenstore/Makefile b/tools/xenstore/Makefile index ea1b89b190..e95790165c 100644 --- a/tools/xenstore/Makefile +++ b/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