From patchwork Tue Jan 19 19:06:57 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Shah X-Patchwork-Id: 43204 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id BA85EB7D54 for ; Wed, 20 Jan 2010 06:27:44 +1100 (EST) Received: from localhost ([127.0.0.1]:37248 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NXJjo-0006be-8u for incoming@patchwork.ozlabs.org; Tue, 19 Jan 2010 14:27:40 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NXJRD-000065-Iw for qemu-devel@nongnu.org; Tue, 19 Jan 2010 14:08:27 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NXJR8-0008U7-Jr for qemu-devel@nongnu.org; Tue, 19 Jan 2010 14:08:26 -0500 Received: from [199.232.76.173] (port=53096 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NXJR8-0008Tx-EM for qemu-devel@nongnu.org; Tue, 19 Jan 2010 14:08:22 -0500 Received: from mx1.redhat.com ([209.132.183.28]:31560) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NXJR7-0006AO-UE for qemu-devel@nongnu.org; Tue, 19 Jan 2010 14:08:22 -0500 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o0JJ8LjI032388 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 19 Jan 2010 14:08:21 -0500 Received: from localhost (vpn-247-16.phx2.redhat.com [10.3.247.16]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o0JJ8JRk017999; Tue, 19 Jan 2010 14:08:20 -0500 From: Amit Shah To: qemu-devel@nongnu.org Date: Wed, 20 Jan 2010 00:36:57 +0530 Message-Id: <1263928018-32531-8-git-send-email-amit.shah@redhat.com> In-Reply-To: <1263928018-32531-7-git-send-email-amit.shah@redhat.com> References: <1263928018-32531-1-git-send-email-amit.shah@redhat.com> <1263928018-32531-2-git-send-email-amit.shah@redhat.com> <1263928018-32531-3-git-send-email-amit.shah@redhat.com> <1263928018-32531-4-git-send-email-amit.shah@redhat.com> <1263928018-32531-5-git-send-email-amit.shah@redhat.com> <1263928018-32531-6-git-send-email-amit.shah@redhat.com> <1263928018-32531-7-git-send-email-amit.shah@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: Amit Shah Subject: [Qemu-devel] [PATCH 7/8] Move virtio-serial to Makefile.objs X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org There's nothing target-dependent in the virtio-serial code so allow it to be compiled just once for all the targets. Signed-off-by: Amit Shah --- Makefile.objs | 2 +- Makefile.target | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.objs b/Makefile.objs index 5802d39..77ff7f6 100644 --- a/Makefile.objs +++ b/Makefile.objs @@ -127,7 +127,7 @@ user-obj-y += cutils.o cache-utils.o hw-obj-y = hw-obj-y += loader.o -hw-obj-y += virtio.o +hw-obj-y += virtio.o virtio-serial.o hw-obj-y += fw_cfg.o hw-obj-y += watchdog.o hw-obj-$(CONFIG_ECC) += ecc.o diff --git a/Makefile.target b/Makefile.target index 60df16d..0bf2253 100644 --- a/Makefile.target +++ b/Makefile.target @@ -172,7 +172,7 @@ ifdef CONFIG_SOFTMMU obj-y = vl.o async.o monitor.o pci.o pci_host.o pcie_host.o machine.o gdbstub.o # virtio has to be here due to weird dependency between PCI and virtio-net. # need to fix this properly -obj-y += virtio-blk.o virtio-balloon.o virtio-net.o virtio-serial.o virtio-serial-bus.o virtio-pci.o +obj-y += virtio-blk.o virtio-balloon.o virtio-net.o virtio-pci.o virtio-serial-bus.o obj-$(CONFIG_KVM) += kvm.o kvm-all.o obj-$(CONFIG_ISA_MMIO) += isa_mmio.o LIBS+=-lz