aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstat
diff options
context:
space:
mode:
authorKeir Fraser <keir@xen.org>2011-03-17 10:36:25 +0000
committerKeir Fraser <keir@xen.org>2011-03-17 10:36:25 +0000
commit547cb1849c1d6338d3141817f67c3ddd2c2beff5 (patch)
tree2536c4884d8230ae2295098d4139f99d00bfffac /tools/xenstat
parentfd515be3e4ac3d44d4aa2e7ee5de1f44965fdbee (diff)
downloadxen-547cb1849c1d6338d3141817f67c3ddd2c2beff5.tar.gz
xen-547cb1849c1d6338d3141817f67c3ddd2c2beff5.tar.bz2
xen-547cb1849c1d6338d3141817f67c3ddd2c2beff5.zip
build: Make XEN_ROOT an absolute path.
Otherwise make can search the path relative to certain standard paths such as /usr/include (e.g., the line '-include $(XEN_ROOT)/.config' in Config.mk suffers from this). Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'tools/xenstat')
-rw-r--r--tools/xenstat/Makefile2
-rw-r--r--tools/xenstat/libxenstat/Makefile2
-rw-r--r--tools/xenstat/xentop/Makefile2
3 files changed, 3 insertions, 3 deletions
diff --git a/tools/xenstat/Makefile b/tools/xenstat/Makefile
index c12e0a49de..904ccdde71 100644
--- a/tools/xenstat/Makefile
+++ b/tools/xenstat/Makefile
@@ -1,4 +1,4 @@
-XEN_ROOT = ../..
+XEN_ROOT = $(CURDIR)/../..
include $(XEN_ROOT)/tools/Rules.mk
SUBDIRS :=
diff --git a/tools/xenstat/libxenstat/Makefile b/tools/xenstat/libxenstat/Makefile
index 1a08d0597c..618480ad1a 100644
--- a/tools/xenstat/libxenstat/Makefile
+++ b/tools/xenstat/libxenstat/Makefile
@@ -12,7 +12,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
-XEN_ROOT=../../..
+XEN_ROOT=$(CURDIR)/../../..
include $(XEN_ROOT)/tools/Rules.mk
prefix=$(PREFIX)
diff --git a/tools/xenstat/xentop/Makefile b/tools/xenstat/xentop/Makefile
index 15daa39c59..d31ba06066 100644
--- a/tools/xenstat/xentop/Makefile
+++ b/tools/xenstat/xentop/Makefile
@@ -10,7 +10,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-XEN_ROOT=../../..
+XEN_ROOT=$(CURDIR)/../../..
include $(XEN_ROOT)/tools/Rules.mk
ifneq ($(XENSTAT_XENTOP),y)