[patch] fix - do not build blobs when blobs are not needed
Jes Sorensen <[email protected]>
| Newsgroups | org.kernel.vger.kvm-ia64,org.kernel.vger.kvm |
|---|---|
| Message-ID | <[email protected]> |
Hi, Don't like ugly assembler errors because QEMU tries to build some x86 assembly code which isn't needed on non-x86. Jes
0009-qemu-kvm-ia64-defaults.patch
(text/x-patch, 864 B)
Do not try to build extboot when INSTALL_BLOBS is not set. Signed-off-by: Jes Sorensen <[email protected]> --- Makefile | 2 ++ configure | 1 + 2 files changed, 3 insertions(+) Index: qemu-kvm/Makefile =================================================================== --- qemu-kvm.orig/Makefile +++ qemu-kvm/Makefile @@ -419,6 +419,7 @@ .PHONY: kvm/extboot +ifdef INSTALL_BLOBS all: kvm/extboot kvm/extboot: @@ -427,3 +428,4 @@ || ! cmp -s pc-bios/extboot.bin $@/extboot.bin; then \ cp $@/extboot.bin pc-bios/extboot.bin; \ fi +endif Index: qemu-kvm/configure =================================================================== --- qemu-kvm.orig/configure +++ qemu-kvm/configure @@ -356,6 +356,7 @@ cpu_emulation="no" gdbstub="no" slirp="no" + blobs="no" fi if [ "$cpu" = "powerpc" ]; then kvm="yes"