mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
tools: move libxenctrl below tools/libs
Today tools/libxc needs to be built after tools/libs as libxenctrl is depending on some libraries in tools/libs. This in turn blocks moving other libraries depending on libxenctrl below tools/libs. So carve out libxenctrl from tools/libxc and move it into tools/libs/ctrl. Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org> (stubdom parts) Acked-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com> (python parts) Acked-by: Wei Liu <wl@xen.org>
This commit is contained in:
1 parent
30f5e8aba1
commit
af6c78d9dc
61 files changed
+111
-118
No files matched your search
@@ -9,7 +9,7 @@ extra_compile_args = [ "-fno-strict-aliasing", "-Werror" ]
|
||||
PATH_XEN = XEN_ROOT + "/tools/include"
|
||||
PATH_LIBXENTOOLLOG = XEN_ROOT + "/tools/libs/toollog"
|
||||
PATH_LIBXENEVTCHN = XEN_ROOT + "/tools/libs/evtchn"
|
||||
PATH_LIBXC = XEN_ROOT + "/tools/libxc"
|
||||
PATH_LIBXENCTRL = XEN_ROOT + "/tools/libs/ctrl"
|
||||
PATH_LIBXL = XEN_ROOT + "/tools/libxl"
|
||||
PATH_XENSTORE = XEN_ROOT + "/tools/xenstore"
|
||||
|
||||
@@ -18,11 +18,11 @@ xc = Extension("xc",
|
||||
include_dirs = [ PATH_XEN,
|
||||
PATH_LIBXENTOOLLOG + "/include",
|
||||
PATH_LIBXENEVTCHN + "/include",
|
||||
PATH_LIBXC + "/include",
|
||||
PATH_LIBXENCTRL + "/include",
|
||||
"xen/lowlevel/xc" ],
|
||||
library_dirs = [ PATH_LIBXC ],
|
||||
library_dirs = [ PATH_LIBXENCTRL ],
|
||||
libraries = [ "xenctrl" ],
|
||||
depends = [ PATH_LIBXC + "/libxenctrl.so" ],
|
||||
depends = [ PATH_LIBXENCTRL + "/libxenctrl.so" ],
|
||||
extra_link_args = [ "-Wl,-rpath-link="+PATH_LIBXENTOOLLOG ],
|
||||
sources = [ "xen/lowlevel/xc/xc.c" ])
|
||||
|
||||
|
||||