From patchwork Wed Dec 23 19:52:28 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Shah X-Patchwork-Id: 41699 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 5C7D7B7BFE for ; Thu, 24 Dec 2009 07:08:13 +1100 (EST) Received: from localhost ([127.0.0.1]:60135 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NNXVB-000303-PP for incoming@patchwork.ozlabs.org; Wed, 23 Dec 2009 15:08:09 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NNXHW-0007GQ-Tw for qemu-devel@nongnu.org; Wed, 23 Dec 2009 14:54:02 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NNXHS-0007CX-TX for qemu-devel@nongnu.org; Wed, 23 Dec 2009 14:54:02 -0500 Received: from [199.232.76.173] (port=43549 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NNXHS-0007CP-Ow for qemu-devel@nongnu.org; Wed, 23 Dec 2009 14:53:58 -0500 Received: from mx1.redhat.com ([209.132.183.28]:54027) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NNXHS-0008Ld-Aj for qemu-devel@nongnu.org; Wed, 23 Dec 2009 14:53:58 -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 nBNJrvK3014401 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 23 Dec 2009 14:53:57 -0500 Received: from localhost (vpn-11-174.rdu.redhat.com [10.11.11.174]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nBNJrsGp008638; Wed, 23 Dec 2009 14:53:56 -0500 From: Amit Shah To: qemu-devel@nongnu.org Date: Thu, 24 Dec 2009 01:22:28 +0530 Message-Id: <1261597948-24293-9-git-send-email-amit.shah@redhat.com> In-Reply-To: <1261597948-24293-8-git-send-email-amit.shah@redhat.com> References: <1261597948-24293-1-git-send-email-amit.shah@redhat.com> <1261597948-24293-2-git-send-email-amit.shah@redhat.com> <1261597948-24293-3-git-send-email-amit.shah@redhat.com> <1261597948-24293-4-git-send-email-amit.shah@redhat.com> <1261597948-24293-5-git-send-email-amit.shah@redhat.com> <1261597948-24293-6-git-send-email-amit.shah@redhat.com> <1261597948-24293-7-git-send-email-amit.shah@redhat.com> <1261597948-24293-8-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 , kraxel@redhat.com, agraf@suse.de, armbru@redhat.com Subject: [Qemu-devel] [PATCH 8/8] Move virtio-serial and virtio-serial-bus to Makefile.hw 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.hw | 2 +- Makefile.target | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.hw b/Makefile.hw index bd252f5..60b954e 100644 --- a/Makefile.hw +++ b/Makefile.hw @@ -13,7 +13,7 @@ QEMU_CFLAGS+=-I.. -I$(SRC_PATH)/fpu obj-y = obj-y += loader.o -obj-y += virtio.o +obj-y += virtio.o virtio-serial.o virtio-serial-bus.o obj-y += fw_cfg.o obj-y += watchdog.o obj-$(CONFIG_ECC) += ecc.o diff --git a/Makefile.target b/Makefile.target index d217f07..d7e1702 100644 --- a/Makefile.target +++ b/Makefile.target @@ -156,7 +156,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 obj-$(CONFIG_KVM) += kvm.o kvm-all.o obj-$(CONFIG_ISA_MMIO) += isa_mmio.o LIBS+=-lz