2013-06-01 23:11:56 +02:00
|
|
|
Index: xen-4.3.0-testing/tools/xenstore/Makefile
|
2008-11-25 15:57:48 +01:00
|
|
|
===================================================================
|
2013-06-01 23:11:56 +02:00
|
|
|
--- xen-4.3.0-testing.orig/tools/xenstore/Makefile
|
|
|
|
+++ xen-4.3.0-testing/tools/xenstore/Makefile
|
|
|
|
@@ -75,6 +75,7 @@ $(CLIENTS_DOMU): xenstore
|
2008-11-25 15:57:48 +01:00
|
|
|
|
|
|
|
xenstore: xenstore_client.o $(LIBXENSTORE)
|
2012-09-17 17:49:23 +02:00
|
|
|
$(CC) $(LDFLAGS) $< $(LDLIBS_libxenstore) $(SOCKET_LIBS) -o $@ $(APPEND_LDFLAGS)
|
2008-11-25 15:57:48 +01:00
|
|
|
+ $(CC) $(CFLAGS) $(LDFLAGS) -Wl,--build-id=uuid $< -L. -lxenstore $(SOCKET_LIBS) -o domu-$@
|
|
|
|
|
|
|
|
xenstore-control: xenstore_control.o $(LIBXENSTORE)
|
2012-09-17 17:49:23 +02:00
|
|
|
$(CC) $(LDFLAGS) $< $(LDLIBS_libxenstore) $(SOCKET_LIBS) -o $@ $(APPEND_LDFLAGS)
|
2013-06-01 23:11:56 +02:00
|
|
|
@@ -124,10 +125,11 @@ install: all
|
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} ; \
|
2008-11-25 15:57:48 +01:00
|
|
|
+ ln -fs /usr/bin/xenstore $(DESTDIR)/usr/bin/$${c} ; \
|
|
|
|
done
|
|
|
|
+ $(INSTALL_PROG) domu-xenstore $(DESTDIR)/bin
|
|
|
|
for client in $(CLIENTS_DOMU); do \
|
|
|
|
- $(INSTALL_PROG) $$client $(DESTDIR)/bin/$${client/domu-}; \
|
|
|
|
+ ln -fs /bin/domu-xenstore $(DESTDIR)/bin/$${client/domu-}; \
|
|
|
|
done
|
|
|
|
$(INSTALL_DIR) $(DESTDIR)$(LIBDIR)
|
|
|
|
$(INSTALL_PROG) libxenstore.so.$(MAJOR).$(MINOR) $(DESTDIR)$(LIBDIR)
|