From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH 02/13] Config.mk: replace dependency to genpath with actual target Date: Wed, 3 Sep 2014 11:28:49 +0100 Message-ID: <1409740129.15285.1.camel@citrix.com> References: <1406538316-29087-1-git-send-email-olaf@aepfle.de> <1406538316-29087-3-git-send-email-olaf@aepfle.de> <1409083253.28009.20.camel@citrix.com> <20140827083648.GA5892@aepfle.de> <1409247292.21481.10.camel@citrix.com> <20140829063354.GA349@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140829063354.GA349@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Olaf Hering Cc: Keir Fraser , Stefano Stabellini , Tim Deegan , Ian Jackson , xen-devel@lists.xen.org, Jan Beulich , Samuel Thibault List-Id: xen-devel@lists.xenproject.org On Fri, 2014-08-29 at 08:33 +0200, Olaf Hering wrote: > On Thu, Aug 28, Ian Campbell wrote: > > > It seems that the bug here is that _paths.h is .PHONY then. Without that > > the use of move-if-changed would prevent the output file changing > > unnecessarily and make would not bother to rebuild the dependents. > > It has to be checked every time to catch possible changes in the > variables. How would that be checked without a .PHONY target, $(1) in > this case? Sounds like we need something similar to the FORCE target used by both the xen subtree and Linux etc. See xen/Rules.mk. Ian.