mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
Various people say this binding doesn't compile or doesn't work. Remove it for the benefit of xl feature development -- so that new features won't need to worry about making this broken binding happy. This isn't going to expose any user visible changes because that module is not built by default. Signed-off-by: Wei Liu <wei.liu2@citrix.com> Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com> Acked-by: Zhigang Wang <zhigang.x.wang@oracle.com> Acked-by: Ian Campbell <ian.campbell@citrix.com>
43 lines
1.5 KiB
Python
43 lines
1.5 KiB
Python
|
|
from distutils.core import setup, Extension
|
|
import os, sys
|
|
|
|
XEN_ROOT = "../.."
|
|
|
|
extra_compile_args = [ "-fno-strict-aliasing", "-Werror" ]
|
|
|
|
PATH_XEN = XEN_ROOT + "/tools/include"
|
|
PATH_LIBXC = XEN_ROOT + "/tools/libxc"
|
|
PATH_LIBXL = XEN_ROOT + "/tools/libxl"
|
|
PATH_XENSTORE = XEN_ROOT + "/tools/xenstore"
|
|
|
|
xc = Extension("xc",
|
|
extra_compile_args = extra_compile_args,
|
|
include_dirs = [ PATH_XEN, PATH_LIBXC + "/include", "xen/lowlevel/xc" ],
|
|
library_dirs = [ PATH_LIBXC ],
|
|
libraries = [ "xenctrl", "xenguest" ],
|
|
depends = [ PATH_LIBXC + "/libxenctrl.so", PATH_LIBXC + "/libxenguest.so" ],
|
|
sources = [ "xen/lowlevel/xc/xc.c" ])
|
|
|
|
xs = Extension("xs",
|
|
extra_compile_args = extra_compile_args,
|
|
include_dirs = [ PATH_XEN, PATH_XENSTORE + "/include", "xen/lowlevel/xs" ],
|
|
library_dirs = [ PATH_XENSTORE ],
|
|
libraries = [ "xenstore" ],
|
|
depends = [ PATH_XENSTORE + "/libxenstore.so" ],
|
|
sources = [ "xen/lowlevel/xs/xs.c" ])
|
|
|
|
plat = os.uname()[0]
|
|
modules = [ xc, xs ]
|
|
|
|
setup(name = 'xen',
|
|
version = '3.0',
|
|
description = 'Xen',
|
|
packages = ['xen',
|
|
'xen.migration',
|
|
'xen.lowlevel',
|
|
],
|
|
ext_package = "xen.lowlevel",
|
|
ext_modules = modules
|
|
)
|