diff options
author | Keir Fraser <keir@xen.org> | 2011-03-17 10:36:25 +0000 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2011-03-17 10:36:25 +0000 |
commit | 547cb1849c1d6338d3141817f67c3ddd2c2beff5 (patch) | |
tree | 2536c4884d8230ae2295098d4139f99d00bfffac /tools/misc | |
parent | fd515be3e4ac3d44d4aa2e7ee5de1f44965fdbee (diff) | |
download | xen-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/misc')
-rw-r--r-- | tools/misc/Makefile | 2 | ||||
-rw-r--r-- | tools/misc/lomount/Makefile | 2 | ||||
-rw-r--r-- | tools/misc/miniterm/Makefile | 2 | ||||
-rw-r--r-- | tools/misc/nsplitd/Makefile | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/tools/misc/Makefile b/tools/misc/Makefile index 89e0ac46a9..e4e8bfe14c 100644 --- a/tools/misc/Makefile +++ b/tools/misc/Makefile @@ -1,4 +1,4 @@ -XEN_ROOT=../.. +XEN_ROOT=$(CURDIR)/../.. include $(XEN_ROOT)/tools/Rules.mk CFLAGS += -Werror diff --git a/tools/misc/lomount/Makefile b/tools/misc/lomount/Makefile index 7eafce16e5..67636a8cb1 100644 --- a/tools/misc/lomount/Makefile +++ b/tools/misc/lomount/Makefile @@ -1,4 +1,4 @@ -XEN_ROOT=../../.. +XEN_ROOT=$(CURDIR)/../../.. include $(XEN_ROOT)/tools/Rules.mk CFLAGS += -Werror diff --git a/tools/misc/miniterm/Makefile b/tools/misc/miniterm/Makefile index 116ef1f6b3..5c5f561393 100644 --- a/tools/misc/miniterm/Makefile +++ b/tools/misc/miniterm/Makefile @@ -1,4 +1,4 @@ -XEN_ROOT:=../../.. +XEN_ROOT:=$(CURDIR)/../../.. include $(XEN_ROOT)/tools/Rules.mk TARGET = miniterm diff --git a/tools/misc/nsplitd/Makefile b/tools/misc/nsplitd/Makefile index d15bb4d12b..91ccf4dab8 100644 --- a/tools/misc/nsplitd/Makefile +++ b/tools/misc/nsplitd/Makefile @@ -1,4 +1,4 @@ -XEN_ROOT := ../../.. +XEN_ROOT := $(CURDIR)/../../.. include $(XEN_ROOT)/tools/Rules.mk CFILES = $(wildcard *.c) |