tools: remove obsolete path.py from tools/python
authorOlaf Hering <olaf@aepfle.de>
Mon, 22 Sep 2014 12:59:54 +0000 (14:59 +0200)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 23 Sep 2014 09:13:07 +0000 (10:13 +0100)
The directory tools/python/xen/util does not exist.
Upcoming changes to genpath will fail if the rule persists.
Nothing uses path.py (anymore?), so get rid it.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
[ ijc -- removed from .gitignore too ]

.gitignore
tools/python/Makefile

index 8e34b851891357330f619f9ef1abb32accefadc8..c7cb679ad434cef91d11907db2c1a5b89be1ac9a 100644 (file)
@@ -186,7 +186,6 @@ tools/misc/lowmemd
 tools/misc/xencov
 tools/pygrub/build/*
 tools/python/build/*
-tools/python/xen/util/path.py
 tools/remus/imqebt/imqebt
 tools/remus/kmod/*(.cmd|.mod|.ko|.mod.c|.symvers|.xen)
 tools/security/secpol_tool
index c9143322d91aca587e538a4a5863ca78c9c7edac..4918229df723d5e04224fb55381c114d48e81c0a 100644 (file)
@@ -4,13 +4,8 @@ include $(XEN_ROOT)/tools/Rules.mk
 .PHONY: all
 all: build
 
-XENPATH = "xen/util/path.py"
-
-genpath-target = $(call buildmakevars2file,$(XENPATH))
-$(eval $(genpath-target))
-
 .PHONY: build
-build: genpath genwrap.py $(XEN_ROOT)/tools/libxl/libxl_types.idl \
+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 \
@@ -31,6 +26,6 @@ test:
 clean:
        find . \( -name "*.py[ocd]" -o -name "*~" -o -name "_*.[hc]" \) -delete
        rm -rf build/
-       rm -f $(XENPATH) $(DEPS)
+       rm -f $(DEPS)
 
 -include $(DEPS)