From 0c6cc72d62909f1fc7e876be4a0e63addb3425b0 Mon Sep 17 00:00:00 2001 From: Christoph Egger Date: Thu, 1 Mar 2012 18:52:35 +0000 Subject: 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 --- tools/xenstore/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/xenstore') 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 -- cgit v1.2.3