From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roger Pau Monne Subject: [PATCH v2 4/4] tools/build: change order of config/Tools.mk inclusion Date: Thu, 17 May 2012 13:16:30 +0100 Message-ID: <1337256990-51913-4-git-send-email-roger.pau@citrix.com> References: <1337256990-51913-1-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-1-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: xen-devel@lists.xen.org Cc: Christoph Egger , Ian Jackson , Roger Pau Monne List-Id: xen-devel@lists.xenproject.org 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. Including config/Tools.mk before any other includes ensures that user-set options will be honored. Cc: Ian Jackson Cc: Christoph Egger 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 a2a1a58..5ded544 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 -- 1.7.7.5 (Apple Git-26)