From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerone Young Subject: [PATCH] Move CONFIG_X86 decleration to be x86 specific in configure script Date: Wed, 05 Dec 2007 15:50:24 -0600 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org # HG changeset patch # User Jerone Young # Date 1196891226 21600 # Node ID a30e578bd6e2cf7599ce0c57066880658ddf2886 # Parent b4cf8e05d20b3f4ca658bb4fdf3db3e4393a5d8a Move CONFIG_X86 decleration to be x86 specific in configure script In the configure script CONFIG_X86 is explicitly declared for qemu. Now while today the support for other archs is not exactly in kvm just yet (it's coming)..this shouldn't be specified for everyone ;-) Signed-off-by: Jerone Young diff --git a/configure b/configure --- a/configure +++ b/configure @@ -99,6 +99,7 @@ fi #set parameters compiling if [ "$arch" = "i386" -o "$arch" = "x86_64" ]; then target_exec="x86_64-softmmu" + qemu_cflags+=" -DCONFIG_X86" fi #configure user dir @@ -109,7 +110,7 @@ fi #configure qemu (cd qemu; ./configure --target-list=$target_exec \ --disable-kqemu \ - --extra-cflags="-I $PWD/../libkvm $qemu_cflags -DCONFIG_X86" \ + --extra-cflags="-I $PWD/../libkvm $qemu_cflags" \ --extra-ldflags="-L $PWD/../libkvm $qemu_ldflags" \ --enable-kvm --kernel-path="$libkvm_kerneldir" \ ${enable_alsa:+"--enable-alsa"} \ ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4