Patchwork [8/8] make: fix clean rule by removing build file in qom/

mail settings
Submitter Stefan Hajnoczi
Date April 3, 2012, 10:42 a.m.
Message ID <>
Download mbox | patch
Permalink /patch/150419/
State New
Headers show


Stefan Hajnoczi - April 3, 2012, 10:42 a.m.
From: Anthony PERARD <>

Make clean does not clean the 'qom' directory, leaving *.o and *.d files. This
patch fixes this.

Signed-off-by: Anthony PERARD <>
Signed-off-by: Stefan Hajnoczi <>
 Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/Makefile b/Makefile
index 35c7a2a..a78f53d 100644
--- a/Makefile
+++ b/Makefile
@@ -217,6 +217,7 @@  clean:
 	rm -f *.o *.d *.a *.lo $(TOOLS) $(HELPERS-y) qemu-ga TAGS cscope.* *.pod *~ */*~
 	rm -Rf .libs
 	rm -f slirp/*.o slirp/*.d audio/*.o audio/*.d block/*.o block/*.d net/*.o net/*.d fsdev/*.o fsdev/*.d ui/*.o ui/*.d qapi/*.o qapi/*.d qga/*.o qga/*.d
+	rm -f qom/*.o qom/*.d
 	rm -f qemu-img-cmds.h
 	rm -f trace/*.o trace/*.d
 	rm -f trace.c trace.h trace.c-timestamp trace.h-timestamp