From: Ian Jackson Subject: Re: [PATCH v2 4/4] tools/build: change order of config/Tools.mk inclusion Date: Fri, 18 May 2012 12:17:09 +0100 Message-ID: <20406.12213.751409.867469@mariner.uk.xensource.com> References: <1337256990-51913-1-git-send-email-roger.pau@citrix.com> <1337256990-51913-4-git-send-email-roger.pau@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1337256990-51913-4-git-send-email-roger.pau@citrix.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: Roger Pau Monne Cc: Christoph Egger , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org Roger Pau Monne writes ("[PATCH v2 4/4] tools/build: change order of config/Tools.mk inclusion"): > Tools.mk contains variables that should be used when processing the > top level Config.mk for the tools, specially the CONFIG_DIR variable, > which is not honoring the PREFIX variable correctly, since when > CONFIG_DIR is set the PREFIX var is still not defined. I'm not sure I really understand how PREFIX is supposed to work. In a normal package PREFIX would be set to /usr, /usr/local, /opt, or whatever, by the person doing the installation. The code in StdGNU.mk seems to be capable of generating paths like /usr/local/var/run/xen which is a bit mad. Also PREFIX is set in StdGNU.mk. Why is it also set in Tools.mk ? Ian.