# HG changeset patch # Parent 33d596f46521ea852e90cf6dbdbf3680d104134c tools/python: Clean python correctly Cleaning the python directory should completely remove the build/ directory, otherwise subsequent builds may be short-circuited and a stale build installed. Signed-off-by: Andrew Cooper diff -r 33d596f46521 tools/python/Makefile --- a/tools/python/Makefile +++ b/tools/python/Makefile @@ -34,7 +34,7 @@ test: .PHONY: clean clean: rm -f $(XENPATH) - rm -rf *.pyc *.pyo *.o *.a *~ xen/util/auxbin.pyc + rm -rf build/ *.pyc *.pyo *.o *.a *~ xen/util/auxbin.pyc rm -f xen/lowlevel/xl/_pyxl_types.h rm -f xen/lowlevel/xl/_pyxl_types.c rm -f $(DEPS)