diff options
author | Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com> | 2008-01-10 17:13:55 +0100 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-13 13:59:54 +0200 |
commit | 668ec4ba2451dbaa2d6a946d64afb43a1275beae (patch) | |
tree | 083ed477e58bf8b2b9ee463836c5ae58e46f1d26 /kvm/Makefile | |
parent | Report revision 3 of the ACPI/SMBus PIIX4 controller (diff) | |
download | qemu-kvm-668ec4ba2451dbaa2d6a946d64afb43a1275beae.tar.gz qemu-kvm-668ec4ba2451dbaa2d6a946d64afb43a1275beae.tar.bz2 qemu-kvm-668ec4ba2451dbaa2d6a946d64afb43a1275beae.zip |
kvm: configure: per architecture top level dependencies
This allows per arch configuration for the top level Makefile of
kvm-userspace e.g. allowing to disable extboot for non x86 or disabling
kvmctl build until ported to an architecture.
Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'kvm/Makefile')
-rw-r--r-- | kvm/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/kvm/Makefile b/kvm/Makefile index 4a3745607..d4cd8776b 100644 --- a/kvm/Makefile +++ b/kvm/Makefile @@ -7,14 +7,20 @@ rpmrelease = devel .PHONY: kernel user libkvm qemu bios vgabios extboot clean -all: $(if $(WANT_MODULE), kernel) user libkvm qemu +all: libkvm qemu +ifneq '$(filter $(ARCH), x86_64 i386 ia64)' '' + all: $(if $(WANT_MODULE), kernel) user +endif kcmd = $(if $(WANT_MODULE),,@\#) qemu kernel user libkvm: $(MAKE) -C $@ -qemu: libkvm extboot +qemu: libkvm +ifneq '$(filter $(ARCH), i386 x86_64)' '' + qemu: extboot +endif user: libkvm bios: |