[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] tools: Update CFLAGS for qemu-xen to allow it to use new libraries



commit 5757c7067ee1cd0f520142e4f3aa86e8e5b010ba
Author:     Ian Campbell <ian.campbell@xxxxxxxxxx>
AuthorDate: Tue Sep 22 15:16:05 2015 +0100
Commit:     Ian Campbell <ian.campbell@xxxxxxxxxx>
CommitDate: Fri Jan 22 12:24:22 2016 +0000

    tools: Update CFLAGS for qemu-xen to allow it to use new libraries
    
    This means adding -L for libxen{evtchn,gnttab,foreignmemory} so that
    it can link them directly (rather than using the libxenctrl compat
    layer exposed via -rpath-link). Also add -I for libxenforeignmemory.
    
    Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
    Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
 tools/Makefile |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/tools/Makefile b/tools/Makefile
index 61785d7..15680a5 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -256,12 +256,16 @@ subdir-all-qemu-xen-dir: qemu-xen-dir-find
                -I$(XEN_ROOT)/tools/libs/toollog/include \
                -I$(XEN_ROOT)/tools/libs/evtchn/include \
                -I$(XEN_ROOT)/tools/libs/gnttab/include \
+               -I$(XEN_ROOT)/tools/libs/foreignmemory/include \
                -I$(XEN_ROOT)/tools/libxc/include \
                -I$(XEN_ROOT)/tools/xenstore/include \
                -I$(XEN_ROOT)/tools/xenstore/compat/include \
                $(EXTRA_CFLAGS_QEMU_XEN)" \
                --extra-ldflags="-L$(XEN_ROOT)/tools/libxc \
                -L$(XEN_ROOT)/tools/xenstore \
+               -L$(XEN_ROOT)/tools/libs/evtchn \
+               -L$(XEN_ROOT)/tools/libs/gnttab \
+               -L$(XEN_ROOT)/tools/libs/foreignmemory \
                -Wl,-rpath-link=$(XEN_ROOT)/tools/libs/toollog \
                -Wl,-rpath-link=$(XEN_ROOT)/tools/libs/evtchn \
                -Wl,-rpath-link=$(XEN_ROOT)/tools/libs/gnttab \
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.