aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ocaml/xenstored
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/ocaml/xenstored
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/ocaml/xenstored')
-rw-r--r--tools/ocaml/xenstored/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/ocaml/xenstored/Makefile b/tools/ocaml/xenstored/Makefile
index c13d837e67..4e674ab963 100644
--- a/tools/ocaml/xenstored/Makefile
+++ b/tools/ocaml/xenstored/Makefile
@@ -1,5 +1,5 @@
-XEN_ROOT = ../../..
-OCAML_TOPLEVEL = ..
+XEN_ROOT = $(CURDIR)/../../..
+OCAML_TOPLEVEL = $(CURDIR)/..
include $(OCAML_TOPLEVEL)/common.make
OCAMLINCLUDE += \