From patchwork Thu May 7 08:54:18 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jes Sorensen X-Patchwork-Id: 22262 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n478sRbZ022746 for ; Thu, 7 May 2009 08:54:27 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754529AbZEGIyY (ORCPT ); Thu, 7 May 2009 04:54:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752217AbZEGIyY (ORCPT ); Thu, 7 May 2009 04:54:24 -0400 Received: from relay2.sgi.com ([192.48.179.30]:41937 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751024AbZEGIyX (ORCPT ); Thu, 7 May 2009 04:54:23 -0400 Received: from eye3.emea.sgi.com (eye3.emea.sgi.com [144.253.156.24]) by relay2.corp.sgi.com (Postfix) with ESMTP id 12B403040AA; Thu, 7 May 2009 01:54:22 -0700 (PDT) Message-ID: <4A02A1BA.5020003@sgi.com> Date: Thu, 07 May 2009 10:54:18 +0200 From: Jes Sorensen User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Avi Kivity CC: "kvm-ia64@vger.kernel.org" , "kvm@vger.kernel.org" Subject: [patch] fix - do not build blobs when blobs are not needed Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Hi, Don't like ugly assembler errors because QEMU tries to build some x86 assembly code which isn't needed on non-x86. Jes 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"