make 'clean' target propage into libkvm if it's enabled

Signed-off-by: Michael S. Tsirkin <[email protected]>
---
 Makefile.target |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

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),)
-- 
1.6.0.6

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to