Skip to contentSkip to conversation

tools: Refactor /dev/xen/gnt{dev, shr} wrappers into libxengnttab.

PATCH Ian Campbell 1 participant 1 message Jul 16, 2015 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 4 lines · Jason Andryuk

Ian,

I'm not subscribed to xen-devel and read your patch from the gmane.org web interface.

No problem, I'm recopying the list for you now.

Quoted 13 lines
Quoted 3 lines

After this change libxenvchan no longer needs to link against libxenctrl. It still needs xenctrl.h in one file for xen_mb and friends.

(quoted diff) +1 -1
@@ -109,7 +119,7 @@ LDLIBS_libxenstat  = $(SHDEPS_libxenstat) $(XEN_LIBXENSTAT)/libxenstat$(libexten
 SHLIB_libxenstat   = $(SHDEPS_libxenstat) -Wl,-rpath-link=$(XEN_LIBXENSTAT)
 
 CFLAGS_libxenvchan = -I$(XEN_LIBVCHAN)
-SHDEPS_libxenvchan = $(SHLIB_libxenctrl) $(SHLIB_libxenstore) $(SHLIB_libxenevtchn)
+SHDEPS_libxenvchan = $(SHLIB_libxenctrl) $(SHLIB_libxenstore) $(SHLIB_libxenevtchn) $(SHLIB_libxengnttab) $(SHLIB_libxengntshr)
 LDLIBS_libxenvchan = $(SHDEPS_libxenvchan) $(XEN_LIBVCHAN)/libxenvchan$(libextension)
 SHLIB_libxenvchan  = $(SHDEPS_libxenvchan) -Wl,-rpath-link=$(XEN_LIBVCHAN)
 
Quoted 2 lines

I see in tools/libvchan/Makefile you removed $(LDLIBS_libxenctrl), but did you want to remove $(SHLIB_libxenctrl) here?

I think I did, yes, thanks.

Ian.