aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyota OZAKI <ozaki.ryota@gmail.com>2008-03-23 01:16:06 +0900
committerAvi Kivity <avi@qumranet.com>2008-03-23 11:02:55 +0200
commit7c2e2599403a99bdc33442568898c8bddde4310e (patch)
tree016d3c49b70fc34cb01565402cd95ea0a4c788d2
parentb130de2b9a69521c7d2e49e64f165e9771d033c0 (diff)
kvm: 'make clean' is eager to delete config.mak files
Current 'make clean' deletes config.mak files so that we have to ./configure again after doing that. This behavior is different from that of standard 'make clean'. This patch introduces 'make distclean' to delete config.mak files instead of 'make clean', following a standard manner of Makefile. Signed-off-by: Avi Kivity <avi@qumranet.com>
-rw-r--r--kvm/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/kvm/Makefile b/kvm/Makefile
index d4cd8776b..83f9387af 100644
--- a/kvm/Makefile
+++ b/kvm/Makefile
@@ -91,4 +91,6 @@ clean:
for i in $(if $(WANT_MODULE), kernel) user libkvm qemu; do \
make -C $$i clean; \
done
+
+distclean: clean
rm -f config.mak user/config.mak