kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch] fix - do not build blobs when blobs are not needed
@ 2009-05-07  8:54 Jes Sorensen
  2009-05-07  9:26 ` Avi Kivity
  0 siblings, 1 reply; 4+ messages in thread
From: Jes Sorensen @ 2009-05-07  8:54 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm-ia64@vger.kernel.org, kvm@vger.kernel.org

[-- Attachment #1: Type: text/plain, Size: 125 bytes --]

Hi,

Don't like ugly assembler errors because QEMU tries to build some x86
assembly code which isn't needed on non-x86.

Jes

[-- Attachment #2: 0009-qemu-kvm-ia64-defaults.patch --]
[-- Type: text/x-patch, Size: 864 bytes --]

Do not try to build extboot when INSTALL_BLOBS is not set.

Signed-off-by: Jes Sorensen <jes@sgi.com>

---
 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"

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-05-07  9:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-07  8:54 [patch] fix - do not build blobs when blobs are not needed Jes Sorensen
2009-05-07  9:26 ` Avi Kivity
2009-05-07  9:35   ` Jes Sorensen
2009-05-07  9:49     ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).