From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:38766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SlfSp-0001vF-2n for qemu-devel@nongnu.org; Mon, 02 Jul 2012 08:10:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SlfSl-0003AM-R2 for qemu-devel@nongnu.org; Mon, 02 Jul 2012 08:10:46 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:59186) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SlfSl-00039W-KU for qemu-devel@nongnu.org; Mon, 02 Jul 2012 08:10:43 -0400 Received: by pbbro12 with SMTP id ro12so8310406pbb.4 for ; Mon, 02 Jul 2012 05:10:40 -0700 (PDT) Message-ID: <4FF18FB9.7080904@ozlabs.ru> Date: Mon, 02 Jul 2012 22:10:33 +1000 From: Alexey Kardashevskiy 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> In-Reply-To: <4FF1799C.6000806@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] hw/Makefile.objs question List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Alexander Graf , Alex Williamson , =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= , Anthony Liguori , qemu-devel@nongnu.org 02.07.2012 20:36, Paolo Bonzini пишет: > Il 21/06/2012 16:04, Andreas Färber 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 one >> 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. At the moment, VFIO has #ifdef TARGET_PPC64 so it should be compiled per target, i.e. the first way. Or not? -- With best regards Alexey Kardashevskiy -- icq: 52150396