From: Ian Campbell Subject: Re: [PATCH 4/9] build: include Tools.mk first in tools/Rules.mk Date: Mon, 23 Jul 2012 12:34:47 +0100 Message-ID: <1343043287.5797.1.camel@zakaz.uk.xensource.com> References: <1342002232-75531-1-git-send-email-roger.pau@citrix.com> <1342002232-75531-5-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: <1342002232-75531-5-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: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Wed, 2012-07-11 at 11:23 +0100, Roger Pau Monne wrote: > Tools.mk should be included first, or PREFIX is not honoured in the > other conf/ files that define the paths of several tools. Isn't it a bug for anything which is included/defined via $(XEN_ROOT)/Config.mk to depend on the contents of $(XEN_ROOT)/config/Tools.mk since for anything non-tools Tools.mk would never be included at all? > > Signed-off-by: Roger Pau Monne > --- > tools/Rules.mk | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/tools/Rules.mk b/tools/Rules.mk > index 1e928b7..2dd8ed3 100644 > --- a/tools/Rules.mk > +++ b/tools/Rules.mk > @@ -3,8 +3,8 @@ > # `all' is the default target > all: > > -include $(XEN_ROOT)/Config.mk > -include $(XEN_ROOT)/config/Tools.mk > +include $(XEN_ROOT)/Config.mk > > export _INSTALL := $(INSTALL) > INSTALL = $(XEN_ROOT)/tools/cross-install