From 547cb1849c1d6338d3141817f67c3ddd2c2beff5 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 17 Mar 2011 10:36:25 +0000 Subject: 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 --- tools/misc/Makefile | 2 +- tools/misc/lomount/Makefile | 2 +- tools/misc/miniterm/Makefile | 2 +- tools/misc/nsplitd/Makefile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tools/misc') 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) -- cgit v1.2.3