2015-01-14 21:58:52 +01:00
|
|
|
---
|
|
|
|
tools/xenstore/Makefile | 6 ++++--
|
|
|
|
1 file changed, 4 insertions(+), 2 deletions(-)
|
|
|
|
|
2015-06-30 16:23:29 +02:00
|
|
|
Index: xen-4.5.1-testing/tools/xenstore/Makefile
|
2008-11-25 15:57:48 +01:00
|
|
|
===================================================================
|
2015-06-30 16:23:29 +02:00
|
|
|
--- xen-4.5.1-testing.orig/tools/xenstore/Makefile
|
|
|
|
+++ xen-4.5.1-testing/tools/xenstore/Makefile
|
2015-01-14 21:58:52 +01:00
|
|
|
@@ -91,6 +91,7 @@ $(CLIENTS_DOMU): xenstore
|
2008-11-25 15:57:48 +01:00
|
|
|
|
|
|
|
xenstore: xenstore_client.o $(LIBXENSTORE)
|
2015-01-14 21:58:52 +01:00
|
|
|
$(CC) $< $(LDFLAGS) $(LDLIBS_libxenstore) $(SOCKET_LIBS) -o $@ $(APPEND_LDFLAGS)
|
|
|
|
+ $(CC) $< $(CFLAGS) $(LDFLAGS) -Wl,--build-id=uuid -L. -lxenstore $(SOCKET_LIBS) -o domu-$@
|
2008-11-25 15:57:48 +01:00
|
|
|
|
|
|
|
xenstore-control: xenstore_control.o $(LIBXENSTORE)
|
2015-01-14 21:58:52 +01:00
|
|
|
$(CC) $< $(LDFLAGS) $(LDLIBS_libxenstore) $(SOCKET_LIBS) -o $@ $(APPEND_LDFLAGS)
|
2015-06-30 16:23:29 +02:00
|
|
|
@@ -136,14 +137,16 @@ ifeq ($(XENSTORE_XENSTORED),y)
|
|
|
|
$(INSTALL_DIR) $(DESTDIR)$(SBINDIR)
|
|
|
|
$(INSTALL_DIR) $(DESTDIR)$(XEN_LIB_STORED)
|
|
|
|
$(INSTALL_PROG) xenstored $(DESTDIR)$(SBINDIR)
|
|
|
|
+ $(INSTALL_DIR) $(DESTDIR)/bin
|
|
|
|
endif
|
2008-11-25 15:57:48 +01:00
|
|
|
$(INSTALL_PROG) xenstore-control $(DESTDIR)$(BINDIR)
|
2009-05-04 18:38:09 +02:00
|
|
|
$(INSTALL_PROG) xenstore $(DESTDIR)$(BINDIR)
|
2008-11-25 15:57:48 +01:00
|
|
|
set -e ; for c in $(CLIENTS) ; do \
|
2009-05-04 18:38:09 +02:00
|
|
|
- ln -f $(DESTDIR)$(BINDIR)/xenstore $(DESTDIR)$(BINDIR)/$${c} ; \
|
2015-01-14 21:58:52 +01:00
|
|
|
+ ln -fs xenstore $(DESTDIR)/usr/bin/$${c} ; \
|
2008-11-25 15:57:48 +01:00
|
|
|
done
|
|
|
|
+ $(INSTALL_PROG) domu-xenstore $(DESTDIR)/bin
|
|
|
|
for client in $(CLIENTS_DOMU); do \
|
2015-06-30 16:23:29 +02:00
|
|
|
- $(INSTALL_PROG) $$client $(DESTDIR)/$(BINDIR)/$${client/domu-}; \
|
2015-01-14 21:58:52 +01:00
|
|
|
+ ln -fs domu-xenstore $(DESTDIR)/bin/$${client/domu-}; \
|
2008-11-25 15:57:48 +01:00
|
|
|
done
|
|
|
|
$(INSTALL_DIR) $(DESTDIR)$(LIBDIR)
|
2015-01-14 21:58:52 +01:00
|
|
|
$(INSTALL_SHLIB) libxenstore.so.$(MAJOR).$(MINOR) $(DESTDIR)$(LIBDIR)
|