Received: from eggs.gnu.org ([2001:4830:134:3::10]:41705) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zrp04-0005TI-J1 for qemu-devel@nongnu.org; Thu, 29 Oct 2015 11:20:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zrp00-0006DQ-UX for qemu-devel@nongnu.org; Thu, 29 Oct 2015 11:20:24 -0400 Received: from roura.ac.upc.edu ([147.83.33.10]:37927 helo=roura.ac.upc.es) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zrp00-0006Cr-KE for qemu-devel@nongnu.org; Thu, 29 Oct 2015 11:20:20 -0400 From: =?utf-8?Q?Llu=C3=ADs_Vilanova?= References: <1446044363-29340-1-git-send-email-stefanha@redhat.com> <1446044363-29340-2-git-send-email-stefanha@redhat.com> Date: Thu, 29 Oct 2015 16:20:17 +0100 In-Reply-To: <1446044363-29340-2-git-send-email-stefanha@redhat.com> (Stefan Hajnoczi's message of "Wed, 28 Oct 2015 14:59:22 +0000") Message-ID: <874mh9k8ge.fsf@fimbulvetr.bsc.es> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 1/2] trace: fix make foo-timestamp rules List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: qemu-devel@nongnu.org, Markus Armbruster Stefan Hajnoczi writes: > The Makefile uses intermediate timestamp files to avoid rebuilding if > tracetool output is unchanged. > Timestamps are implemented incorrectly. This was fixed for rules.mak in > commit 4b25966ab976f3a7fd9008193b2defcc82f8f04d ("rules.mak: cleanup > config generation rules") but never fixed in trace/Makefile.objs. > The problem with the old timestamp implementation was that make doesn't > notice the updated file modification time until the next time it is run. > It was necessary to run make twice in a row to achieve a full rebuild. > Signed-off-by: Stefan Hajnoczi Fixes broken code and it's cleaner. Thanks! -- "And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes that much richer." -- The Princess of Pure Reason, as told by Norton Juster in The Phantom Tollbooth