tools/python: Further pruning of the defuct xl bindings
PATCH 1/1 tools/python: Further pruning of the defuct xl bindings
No need to generate xen/lowlevel/xl/_pyxl_types.{h,c}, following c/s 598e97f "tools/python: remove broken xl binding"
---
CC: Ian Campbell <[email protected]>
CC: Ian Jackson <[email protected]>
CC: Wei Liu <[email protected]>
--- tools/python/Makefile | 7 +- tools/python/genwrap.py | 332 ------------------------------------------------ 2 files changed, 1 insertion(+), 338 deletions(-) delete mode 100644 tools/python/genwrap.py
tools/python/Makefile +1 -6
@@ -7,12 +7,7 @@ all: build PY_CFLAGS = $(CFLAGS) $(PY_NOOPT_CFLAGS) $(LDFLAGS) $(APPEND_LDFLAGS) .PHONY: build -build: genwrap.py $(XEN_ROOT)/tools/libxl/libxl_types.idl \ - $(XEN_ROOT)/tools/libxl/idl.py - PYTHONPATH=$(XEN_ROOT)/tools/libxl $(PYTHON) genwrap.py \ - $(XEN_ROOT)/tools/libxl/libxl_types.idl \ - xen/lowlevel/xl/_pyxl_types.h \ - xen/lowlevel/xl/_pyxl_types.c +build: CC="$(CC)" CFLAGS="$(PY_CFLAGS)" $(PYTHON) setup.py build .PHONY: install
tools/python/genwrap.py deleted +0 -332
332 lines not on this page · raw message
Signature · 1 line
2.1.4
Quoted 2 lines · Andrew Cooper
No need to generate xen/lowlevel/xl/_pyxl_types.{h,c}, following c/s 598e97f "
tools/python: remove broken xl binding"
In fact, this fixes a build error introduced with 598e97f
make -C python all
make[2]: Entering directory '/local/xen.git/tools/python'
PYTHONPATH=/local/xen.git/tools/python/../../tools/libxl python genwrap.py \
/local/xen.git/tools/python/../../tools/libxl/libxl_types.idl \
xen/lowlevel/xl/_pyxl_types.h \
xen/lowlevel/xl/_pyxl_types.c
Parsing /local/xen.git/tools/python/../../tools/libxl/libxl_types.idl
Traceback (most recent call last):
File "genwrap.py", line 254, in <module>
f = open(decls, 'w')IOError: [Errno 2] No such file or directory:
'xen/lowlevel/xl/_pyxl_types.h'
Makefile:12: recipe for target 'build' failed
which occurs when the directory tools/python/xen/lowlevel/xl doesn't exist.
~Andrew
Quoted 4 lines · Andrew Cooper
No need to generate xen/lowlevel/xl/_pyxl_types.{h,c}, following c/s 598e97f "
tools/python: remove broken xl binding"Signed-off-by Andrew Cooper <[email protected]>