aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-02-15 13:39:28 +0000
committerAvi Kivity <avi@qumranet.com>2007-02-15 13:39:28 +0000
commitc4a1bb77919127cce581584d1d45be438b62341e (patch)
treeca178c6c70b0bf78cb0679e881346fa0260d839f /kvm/Makefile
parentCompile qemu-kvm.o with -fomit-frame-pointer (diff)
downloadqemu-kvm-c4a1bb77919127cce581584d1d45be438b62341e.tar.gz
qemu-kvm-c4a1bb77919127cce581584d1d45be438b62341e.tar.bz2
qemu-kvm-c4a1bb77919127cce581584d1d45be438b62341e.zip
kvm: rpm: package the whole shebang
needed for the modified bios
Diffstat (limited to 'kvm/Makefile')
-rw-r--r--kvm/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/kvm/Makefile b/kvm/Makefile
index 48549299d..10357a2f3 100644
--- a/kvm/Makefile
+++ b/kvm/Makefile
@@ -28,7 +28,8 @@ install-rpm:
mkdir -p $(DESTDIR)/$(initdir)
mkdir -p $(DESTDIR)/$(utilsdir)
mkdir -p $(DESTDIR)/etc/udev/rules.d
- cp qemu/x86_64-softmmu/qemu-system-x86_64 $(DESTDIR)/$(bin)
+ make -C qemu DESTDIR=$(DESTDIR)/ install
+ ln -sf /usr/kvm/bin/qemu-system-x86_64 $(DESTDIR)/$(bin)
cp scripts/kvm $(DESTDIR)/$(initdir)/kvm
cp scripts/qemu-ifup $(DESTDIR)/$(confdir)/qemu-ifup
install -t $(DESTDIR)/etc/udev/rules.d scripts/*kvm*.rules