From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jes Sorensen Date: Thu, 07 May 2009 08:54:18 +0000 Subject: [patch] fix - do not build blobs when blobs are not needed Message-Id: <4A02A1BA.5020003@sgi.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="------------090001080601030609010706" List-Id: To: kvm-ia64@vger.kernel.org This is a multi-part message in MIME format. --------------090001080601030609010706 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, Don't like ugly assembler errors because QEMU tries to build some x86 assembly code which isn't needed on non-x86. Jes --------------090001080601030609010706 Content-Type: text/x-patch; name="0009-qemu-kvm-ia64-defaults.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="0009-qemu-kvm-ia64-defaults.patch" Do not try to build extboot when INSTALL_BLOBS is not set. Signed-off-by: Jes Sorensen --- 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" --------------090001080601030609010706--