From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:39030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SlfU3-0003LH-2x for qemu-devel@nongnu.org; Mon, 02 Jul 2012 08:12:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SlfTz-0003M5-NF for qemu-devel@nongnu.org; Mon, 02 Jul 2012 08:12:02 -0400 Received: from cantor2.suse.de ([195.135.220.15]:35639 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SlfTz-0003Lf-H5 for qemu-devel@nongnu.org; Mon, 02 Jul 2012 08:11:59 -0400 Message-ID: <4FF1900B.1010201@suse.de> Date: Mon, 02 Jul 2012 14:11:55 +0200 From: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= MIME-Version: 1.0 References: <4FE29366.6050101@ozlabs.ru> <4FE2F912.1080904@suse.de> <4FE303A9.9010308@ozlabs.ru> <4FE31145.7040906@suse.de> <4FE31D53.5060700@ozlabs.ru> <4FE329EE.4020701@suse.de> <4FF1799C.6000806@redhat.com> <4FF18FB9.7080904@ozlabs.ru> In-Reply-To: <4FF18FB9.7080904@ozlabs.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] hw/Makefile.objs question List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy Cc: Paolo Bonzini , Alex Williamson , qemu-devel@nongnu.org, Anthony Liguori , Alexander Graf Am 02.07.2012 14:10, schrieb Alexey Kardashevskiy: > 02.07.2012 20:36, Paolo Bonzini =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >> Il 21/06/2012 16:04, Andreas F=C3=A4rber ha scritto: >>> >>> *If* the file is built per target (hw/ppc64/Makefile.objs), then you = can >>> use *-softmmu/config-target.mak and just need to use a different >>> Makefile than before. >>> >>> *If* the file is built per libhw (hw/Makefile.objs), then you need on= e >>> option whether to compile it and another for whether to link it into = a >>> particular target. >> >> You only need the latter. Whether to compile it is decided by >> config-all-devices.mak, but that file is automatically generated by >> looking at all targets. >=20 > At the moment, VFIO has #ifdef TARGET_PPC64 so it should be compiled pe= r > target, i.e. the first way. Or not? Yes, I believe so. Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=C3=B6rffer; HRB 16746 AG N=C3=BC= rnberg