From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:38720) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SlfSh-0001uP-HC for qemu-devel@nongnu.org; Mon, 02 Jul 2012 08:10:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SlfSX-00034C-GA for qemu-devel@nongnu.org; Mon, 02 Jul 2012 08:10:39 -0400 Received: from cantor2.suse.de ([195.135.220.15]:35531 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SlfSX-00033L-AJ for qemu-devel@nongnu.org; Mon, 02 Jul 2012 08:10:29 -0400 Message-ID: <4FF18FAF.1080806@suse.de> Date: Mon, 02 Jul 2012 14:10:23 +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> In-Reply-To: <4FF1799C.6000806@redhat.com> 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: Paolo Bonzini Cc: Alexey Kardashevskiy , Alex Williamson , qemu-devel@nongnu.org, Anthony Liguori , Alexander Graf Am 02.07.2012 12:36, schrieb Paolo Bonzini: > 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 c= an >> 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. >=20 > 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. I was referring to hw-obj-$(CONFIG_FOO) in hw/Makefile.objs and CONFIG_USES_FOO_IF_ENABLED=3Dy in default-configs/ppc64-softmmu.mak. 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