diff mbox

qemu-kvm: make clean should propagate into libkvm directory

Message ID 20090427080711.GA30211@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Michael S. Tsirkin April 27, 2009, 8:07 a.m. UTC
make 'clean' target propage into libkvm if it's enabled

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 Makefile.target |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Comments

Avi Kivity May 4, 2009, 10:10 a.m. UTC | #1
Michael S. Tsirkin wrote:
> make 'clean' target propage into libkvm if it's enabled
>
>   

Applied, thanks.
diff mbox

Patch

diff --git a/Makefile.target b/Makefile.target
index d890220..28dce60 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -846,6 +846,9 @@  qemu-options.h: $(SRC_PATH)/qemu-options.hx
 clean:
 	rm -f *.o *.a *~ $(PROGS) nwfpe/*.o fpu/*.o qemu-options.h gdbstub-xml.c
 	rm -f *.d */*.d tcg/*.o
+ifdef USE_KVM
+	$(MAKE) -C ../kvm/libkvm clean
+endif
 
 install: all
 ifneq ($(PROGS),)