diff options
author | Christoph Egger <Christoph.Egger@amd.com> | 2012-03-01 18:52:35 +0000 |
---|---|---|
committer | Christoph Egger <Christoph.Egger@amd.com> | 2012-03-01 18:52:35 +0000 |
commit | 0c6cc72d62909f1fc7e876be4a0e63addb3425b0 (patch) | |
tree | a43f6ff29d22e2144cc713a7e9270b8aaf4a8f6d /tools/xenstore | |
parent | ec9d90411b55cf3146b1d32fc3295330b7dc0dc0 (diff) | |
download | xen-0c6cc72d62909f1fc7e876be4a0e63addb3425b0.tar.gz xen-0c6cc72d62909f1fc7e876be4a0e63addb3425b0.tar.bz2 xen-0c6cc72d62909f1fc7e876be4a0e63addb3425b0.zip |
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@amd.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/xenstore')
-rw-r--r-- | tools/xenstore/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
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 |