From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:53010) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJM2h-00086V-Td for qemu-devel@nongnu.org; Mon, 09 May 2011 04:42:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QJM2g-0003IW-Rw for qemu-devel@nongnu.org; Mon, 09 May 2011 04:42:15 -0400 Message-ID: <4DC7A8E0.1020500@redhat.com> Date: Mon, 09 May 2011 10:42:08 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1304322846-24376-4-git-send-email-pbonzini@redhat.com> <4DC78F5D.7080505@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH 4/4] fix compilation when reconfiguring without dtrace backend List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org On 05/09/2011 10:34 AM, Stefan Hajnoczi wrote: > BTW the Makefiles don't > seem to have a step before compilation to generate all the > dependencies, instead dependencies only kick in after the first build > has completed? Yes, the first build doesn't need dependencies on headers. Rules for .c->.o and .o->executable are enough to get everything built. > Is there some smart change detection you are thinking about or just > something like keeping the old copy of config-host.h and friends to > see if they have changed? Just that, perhaps for both .h and .mak files. Consider this very patch; it is plausible that switching to another tracing backend does not change the .h files, right now the backend is only present in .h files to enable the monitor/cmdline interfaces. Paolo