aboutsummaryrefslogtreecommitdiffstats
path: root/tools/flask
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/flask
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/flask')
-rw-r--r--tools/flask/Makefile2
-rw-r--r--tools/flask/libflask/Makefile2
-rw-r--r--tools/flask/utils/Makefile2
3 files changed, 3 insertions, 3 deletions
diff --git a/tools/flask/Makefile b/tools/flask/Makefile
index 08961cf810..a27b2650b3 100644
--- a/tools/flask/Makefile
+++ b/tools/flask/Makefile
@@ -1,4 +1,4 @@
-XEN_ROOT = ../..
+XEN_ROOT = $(CURDIR)/../..
include $(XEN_ROOT)/tools/Rules.mk
SUBDIRS :=
diff --git a/tools/flask/libflask/Makefile b/tools/flask/libflask/Makefile
index 0af2f06213..e1f5703762 100644
--- a/tools/flask/libflask/Makefile
+++ b/tools/flask/libflask/Makefile
@@ -1,7 +1,7 @@
MAJOR = 1.0
MINOR = 0
-XEN_ROOT = ../../..
+XEN_ROOT = $(CURDIR)/../../..
include $(XEN_ROOT)/tools/Rules.mk
XEN_LIBXC = $(XEN_ROOT)/tools/libxc
diff --git a/tools/flask/utils/Makefile b/tools/flask/utils/Makefile
index c7110a45bf..85a02291cd 100644
--- a/tools/flask/utils/Makefile
+++ b/tools/flask/utils/Makefile
@@ -1,4 +1,4 @@
-XEN_ROOT=../../..
+XEN_ROOT=$(CURDIR)/../../..
include $(XEN_ROOT)/tools/Rules.mk
XEN_LIBXC = $(XEN_ROOT)/tools/libxc