Received: from eggs.gnu.org ([208.118.235.92]:59838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TmPgp-0006pO-6W for qemu-devel@nongnu.org; Sat, 22 Dec 2012 09:04:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TmPgl-0002zK-4w for qemu-devel@nongnu.org; Sat, 22 Dec 2012 09:04:35 -0500 Received: from mail-we0-f179.google.com ([74.125.82.179]:43829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TmPgk-0002yX-UE for qemu-devel@nongnu.org; Sat, 22 Dec 2012 09:04:31 -0500 Received: by mail-we0-f179.google.com with SMTP id r6so2602744wey.38 for ; Sat, 22 Dec 2012 06:04:29 -0800 (PST) Sender: Paolo Bonzini Message-ID: <50D5BDE6.3030805@redhat.com> Date: Sat, 22 Dec 2012 15:04:22 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1356105948-13216-1-git-send-email-pbonzini@redhat.com> <87zk17w4bc.fsf@fimbulvetr.bsc.es> In-Reply-To: <87zk17w4bc.fsf@fimbulvetr.bsc.es> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH 00/27] More source reorganization and build system TLC List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?ISO-8859-1?Q?Llu=EDs_Vilanova?= Cc: alevy@redhat.com, qemu-devel@nongnu.org, afaerber@suse.de Il 21/12/2012 21:14, Lluís Vilanova ha scritto: > Paolo Bonzini writes: > [...] >> Finally, patches 25 to 27 affect tracing, which is also moved to >> libqemuutil.a. Patch 25 is Lluis's already posted patch to introduce >> trace/Makefile.objs. > > I just skimmed through the patches, but is there a clean way to have files > included only in binaries that are/aren't target system emulators? And what > about files that contain conditionally compiled code according to that same > condition? > > I'm asking because in the trace instrumentation patches (which I'll update next > week rebased on latest master) I had to add build code to do it. Yes, this is what libqemustub does. Paolo