[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-trivial] [PATCH 4/4] fix compilation when reconfiguring withou

From: Paolo Bonzini
Subject: Re: [Qemu-trivial] [PATCH 4/4] fix compilation when reconfiguring without dtrace backend
Date: Mon, 09 May 2011 10:42:08 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.9

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]