summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2006-11-28 15:23:30 +0000
committerAvi Kivity <avi@qumranet.com>2006-11-28 15:23:30 +0000
commit06eb997e953e304253f9c54c798a8ad8aba228bb (patch)
tree0fc5b47c9d96716f13fe5765448cbab8f4451804 /Makefile
parent21ff2256d57eda0cd89c429513e8269cf6f68207 (diff)
kvm: external module make install target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a60e8007..07d55509 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,8 @@ rpmrelease = devel
all: $(if $(WANT_MODULE), kernel) user qemu
+kcmd = $(if $(WANT_MODULE),,@\#)
+
qemu kernel user:
$(MAKE) -C $@
@@ -31,6 +33,7 @@ install-rpm:
cp kvm $(DESTDIR)/$(utilsdir)/kvm
install:
+ $(kcmd)make -C kernel DESTDIR="$(DESTDIR)" install
make -C user DESTDIR="$(DESTDIR)" install
make -C qemu DESTDIR="$(DESTDIR)" install