2015-01-14 21:58:52 +01:00
|
|
|
---
|
|
|
|
tools/xenstore/Makefile | 6 ++++--
|
|
|
|
1 file changed, 4 insertions(+), 2 deletions(-)
|
|
|
|
|
2015-11-11 18:04:52 +01:00
|
|
|
Index: xen-4.6.0-testing/tools/xenstore/Makefile
|
2008-11-25 15:57:48 +01:00
|
|
|
===================================================================
|
2015-11-11 18:04:52 +01:00
|
|
|
--- xen-4.6.0-testing.orig/tools/xenstore/Makefile
|
|
|
|
+++ xen-4.6.0-testing/tools/xenstore/Makefile
|
|
|
|
@@ -92,6 +92,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-11-24 16:48:21 +01:00
|
|
|
@@ -145,10 +146,11 @@ endif
|
2015-11-11 18:04:52 +01:00
|
|
|
$(INSTALL_PROG) xenstore-control $(DESTDIR)$(bindir)
|
|
|
|
$(INSTALL_PROG) xenstore $(DESTDIR)$(bindir)
|
2008-11-25 15:57:48 +01:00
|
|
|
set -e ; for c in $(CLIENTS) ; do \
|
2015-11-11 18:04:52 +01: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-11-24 16:48:21 +01: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
|
2015-11-24 16:48:21 +01:00
|
|
|
$(INSTALL_DIR) $(DESTDIR)$(libdir)
|
2015-11-11 18:04:52 +01:00
|
|
|
$(INSTALL_SHLIB) libxenstore.so.$(MAJOR).$(MINOR) $(DESTDIR)$(libdir)
|