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/blktap/Makefile | 2 +- tools/blktap/drivers/Makefile | 2 +- tools/blktap/lib/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/blktap') diff --git a/tools/blktap/Makefile b/tools/blktap/Makefile index 21c9556f60..40205660e8 100644 --- a/tools/blktap/Makefile +++ b/tools/blktap/Makefile @@ -1,4 +1,4 @@ -XEN_ROOT = ../.. +XEN_ROOT = $(CURDIR)/../.. include $(XEN_ROOT)/tools/Rules.mk SUBDIRS-y := diff --git a/tools/blktap/drivers/Makefile b/tools/blktap/drivers/Makefile index d2615d09b6..7265c76bd4 100644 --- a/tools/blktap/drivers/Makefile +++ b/tools/blktap/drivers/Makefile @@ -1,4 +1,4 @@ -XEN_ROOT = ../../.. +XEN_ROOT = $(CURDIR)/../../.. include $(XEN_ROOT)/tools/Rules.mk IBIN = blktapctrl tapdisk diff --git a/tools/blktap/lib/Makefile b/tools/blktap/lib/Makefile index 206e060114..505625e077 100644 --- a/tools/blktap/lib/Makefile +++ b/tools/blktap/lib/Makefile @@ -1,4 +1,4 @@ -XEN_ROOT = ../../.. +XEN_ROOT = $(CURDIR)/../../.. include $(XEN_ROOT)/tools/Rules.mk MAJOR = 3.0 -- cgit v1.2.3