From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O9Blf-00024O-RL for qemu-devel@nongnu.org; Tue, 04 May 2010 02:38:07 -0400 Received: from [140.186.70.92] (port=49245 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9Bld-0001zx-2c for qemu-devel@nongnu.org; Tue, 04 May 2010 02:38:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O9BfV-0002AR-0N for qemu-devel@nongnu.org; Tue, 04 May 2010 02:31:46 -0400 Received: from mail-px0-f173.google.com ([209.85.212.173]:33074) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O9BfU-00029v-RH for qemu-devel@nongnu.org; Tue, 04 May 2010 02:31:44 -0400 Received: by pxi19 with SMTP id 19so1569944pxi.4 for ; Mon, 03 May 2010 23:31:42 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 4 May 2010 14:31:42 +0800 Message-ID: Subject: Re: [Qemu-devel] [PATCH 2/3] Compile vl.c once From: TeLeMan Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: qemu-devel This patch breaks cpu list("-cpu ?"). -- SUN OF A BEACH On Fri, Apr 16, 2010 at 03:08, Blue Swirl wrote: > Since kvm.h can be used in files compiled once, > we can partially revert > b33612d03540fda7fa67485f1c20395beb7a2bf0. > > Signed-off-by: Blue Swirl > --- > =C2=A0Makefile.objs =C2=A0 | =C2=A0 =C2=A02 +- > =C2=A0Makefile.target | =C2=A0 =C2=A02 +- > =C2=A02 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Makefile.objs b/Makefile.objs > index ab1af88..c0fe5e2 100644 > --- a/Makefile.objs > +++ b/Makefile.objs > @@ -128,7 +128,7 @@ user-obj-y +=3D cutils.o cache-utils.o > =C2=A0# libhw > > =C2=A0hw-obj-y =3D > -hw-obj-y +=3D loader.o > +hw-obj-y +=3D vl.o loader.o > =C2=A0hw-obj-y +=3D virtio.o virtio-console.o > =C2=A0hw-obj-y +=3D fw_cfg.o pci.o pci_host.o pcie_host.o > =C2=A0hw-obj-y +=3D watchdog.o > diff --git a/Makefile.target b/Makefile.target > index 34ceed6..3bd4b86 100644 > --- a/Makefile.target > +++ b/Makefile.target > @@ -162,7 +162,7 @@ endif #CONFIG_BSD_USER > =C2=A0# System emulator target > =C2=A0ifdef CONFIG_SOFTMMU > > -obj-y =3D arch_init.o cpus.o monitor.o machine.o gdbstub.o vl.o balloon.= o > +obj-y =3D arch_init.o cpus.o monitor.o machine.o gdbstub.o balloon.o > =C2=A0# virtio has to be here due to weird dependency between PCI and vir= tio-net. > =C2=A0# need to fix this properly > =C2=A0obj-y +=3D virtio-blk.o virtio-balloon.o virtio-net.o virtio-serial= -bus.o > -- > 1.6.2.4 > > >