From: Michael S. Tsirkin <[email protected]>

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

Signed-off-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>

diff --git a/Makefile.target b/Makefile.target
index f90b714..5cb4c64 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -845,6 +845,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),)
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to