From: Ian Campbell Subject: Re: [PATCH v7 5/8] autoconf: xen: move standard path variables to config/Paths.mk.in Date: Thu, 24 Jul 2014 16:29:03 +0100 Message-ID: <1406215743.25535.14.camel@kazak.uk.xensource.com> References: <1405639699-13494-1-git-send-email-mcgrof@do-not-panic.com> <1405639699-13494-6-git-send-email-mcgrof@do-not-panic.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XAKxA-0002b8-QN for xen-devel@lists.xenproject.org; Thu, 24 Jul 2014 15:29:08 +0000 In-Reply-To: <1405639699-13494-6-git-send-email-mcgrof@do-not-panic.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "Luis R. Rodriguez" Cc: Keir Fraser , Tim Deegan , "Luis R. Rodriguez" , Ian Jackson , Jan Beulich , Samuel Thibault , xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org On Thu, 2014-07-17 at 16:28 -0700, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > This moves all generic path variables to a new the config/Paths.mk.in > input source file to be processed at configure time, tons of files use > these so this just share them. This also paves the way to let us > easily dynamically configure these with autoconf, for now we leave the > same presets as was present before. > > This work was prompted by looking for an autoconf way to do > replacements for the hotplug global file, while at it I realized > that a few other files use the same variables and have in places > around the tree the same constructs for generating their own > files. This makes use of the old buildmakevars2file() but generalizes > the definition of the paths at configure time and spreads the > new definitions out throughout the build system. > > This has no impact on building the hypervisor and extras/mini-os, > you do not need to, and are not expected to, run configure to build > those targets. > > While at it lets add some documentation on the for the two files on > the source file, we can expand further details on the wiki [0]. > > [0] http://wiki.xen.org/wiki/Category:Host_Configuration#System_wide_xen_configuration > > Cc: Ian Campbell > Cc: Ian Jackson > Cc: Samuel Thibault > Cc: Jan Beulich > Cc: Keir Fraser > Cc: Tim Deegan > Signed-off-by: Luis R. Rodriguez I think this breaks the case of "cd tools && ./configure" without configuring at the toplevel. But a) I'm not sure that even works today and b) I'm not sure we care about supporting that case anyway so: Acked-by: Ian Campbell