From patchwork Mon Mar 3 19:08:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Aneesh Kumar K.V" X-Patchwork-Id: 326043 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 7227C2C0091 for ; Tue, 4 Mar 2014 06:09:22 +1100 (EST) Received: from localhost ([::1]:41339 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKYEq-0003Ze-8T for incoming@patchwork.ozlabs.org; Mon, 03 Mar 2014 14:09:20 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47171) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKYES-0003WH-ME for qemu-devel@nongnu.org; Mon, 03 Mar 2014 14:09:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WKYEK-0008Lp-Sc for qemu-devel@nongnu.org; Mon, 03 Mar 2014 14:08:56 -0500 Received: from e23smtp07.au.ibm.com ([202.81.31.140]:35814) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKYEK-0008GK-3a for qemu-devel@nongnu.org; Mon, 03 Mar 2014 14:08:48 -0500 Received: from /spool/local by e23smtp07.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 4 Mar 2014 05:08:44 +1000 Received: from d23dlp01.au.ibm.com (202.81.31.203) by e23smtp07.au.ibm.com (202.81.31.204) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 4 Mar 2014 05:08:42 +1000 Received: from d23relay03.au.ibm.com (d23relay03.au.ibm.com [9.190.235.21]) by d23dlp01.au.ibm.com (Postfix) with ESMTP id C165F2CE8047 for ; Tue, 4 Mar 2014 06:08:41 +1100 (EST) Received: from d23av04.au.ibm.com (d23av04.au.ibm.com [9.190.235.139]) by d23relay03.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s23J8R2Q9961780 for ; Tue, 4 Mar 2014 06:08:28 +1100 Received: from d23av04.au.ibm.com (localhost [127.0.0.1]) by d23av04.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s23J8euD002752 for ; Tue, 4 Mar 2014 06:08:40 +1100 Received: from skywalker.in.ibm.com ([9.77.120.171]) by d23av04.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id s23J8dLE002720; Tue, 4 Mar 2014 06:08:39 +1100 From: "Aneesh Kumar K.V" To: qemu-devel@nongnu.org, Fam Zheng Date: Tue, 4 Mar 2014 00:38:36 +0530 Message-Id: <1393873716-9574-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> X-Mailer: git-send-email 1.8.3.2 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14030319-0260-0000-0000-0000047764F9 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 202.81.31.140 Cc: "Aneesh Kumar K.V" Subject: [Qemu-devel] [PATCH] hw/9pfs: Include virtio-9p-device.o in build X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: "Aneesh Kumar K.V" After commit ba1183da9a10b94611cad88c44a5c6df005f9b55 we are including hw/Makefile.objs directly from Makefile.target. Hence we need to define the config in Makefile.target too to include virtio-9p-device.o in the build Signed-off-by: Aneesh Kumar K.V --- Makefile.target | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile.target b/Makefile.target index ba1234063eae..da8daa82c39e 100644 --- a/Makefile.target +++ b/Makefile.target @@ -137,6 +137,10 @@ endif # CONFIG_SOFTMMU # Workaround for http://gcc.gnu.org/PR55489, see configure. %/translate.o: QEMU_CFLAGS += $(TRANSLATE_OPT_CFLAGS) +ifeq ($(CONFIG_VIRTIO)$(CONFIG_VIRTFS)$(CONFIG_PCI),yyy) +CONFIG_REALLY_VIRTFS=y +endif + dummy := $(call unnest-vars,,obj-y) # we are making another call to unnest-vars with different vars, protect obj-y,