build: include Tools.mk first in tools/Rules.mk
authorRoger Pau Monne <roger.pau@citrix.com>
Wed, 25 Jul 2012 16:39:18 +0000 (17:39 +0100)
committerRoger Pau Monne <roger.pau@citrix.com>
Wed, 25 Jul 2012 16:39:18 +0000 (17:39 +0100)
Tools.mk should be included first, or PREFIX is not honoured in the
other conf/ files that define the paths of several tools.

Signed-off-by: Roger Pau Monne <roger.pau@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
tools/Rules.mk

index 1e928b7b22daf9f1027132edba4bbcf3c17de703..2dd8ed3913dadd46280627b472a1ad5821c22640 100644 (file)
@@ -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