diff options
author | Avi Kivity <avi@qumranet.com> | 2006-10-15 09:45:55 +0000 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2006-10-15 09:45:55 +0000 |
commit | bad4e19e518a633c8dea1d83273815017f908901 (patch) | |
tree | 7d5613f7634673a5dd3ba8c1bd017618b17a7e71 /Makefile | |
parent | 77754e0af49c81a4051477a18aaad0ee6365896d (diff) |
kvm: rpm for userspace
package named "kvm"
binary /usr/bin/kvm
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -1,4 +1,5 @@ +rpmrelease = devel .PHONY: kernel user qemu @@ -7,4 +8,14 @@ all: kernel user qemu qemu kernel user: $(MAKE) -C $@ -qemu: user
\ No newline at end of file +qemu: user + +tmpspec = .tmp.kvm.spec + +rpm: user qemu + mkdir -p BUILD RPMS/$$(uname -i) + sed 's/^Release:.*/Release: $(rpmrelease)/' kvm.spec > $(tmpspec) + rpmbuild --define="kverrel $$(uname -r)" \ + --define="objdir $$(pwd)" \ + --define="_topdir $$(pwd)" \ + -bb $(tmpspec) |