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/console/Makefile | 2 +- tools/console/testsuite/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/console') diff --git a/tools/console/Makefile b/tools/console/Makefile index 3dc4c1b3d5..5a119b44cd 100644 --- a/tools/console/Makefile +++ b/tools/console/Makefile @@ -1,5 +1,5 @@ -XEN_ROOT=../.. +XEN_ROOT=$(CURDIR)/../.. include $(XEN_ROOT)/tools/Rules.mk CFLAGS += -Werror diff --git a/tools/console/testsuite/Makefile b/tools/console/testsuite/Makefile index 71deb0a6f8..d9e43809f6 100644 --- a/tools/console/testsuite/Makefile +++ b/tools/console/testsuite/Makefile @@ -1,4 +1,4 @@ -XEN_ROOT = ../../.. +XEN_ROOT = $(CURDIR)/../../.. include $(XEN_ROOT)/tools/Rules.mk LDFLAGS=-static -- cgit v1.2.3