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/hotplug | |
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/hotplug')
-rw-r--r-- | tools/hotplug/Linux/Makefile | 2 | ||||
-rw-r--r-- | tools/hotplug/Makefile | 2 | ||||
-rw-r--r-- | tools/hotplug/NetBSD/Makefile | 2 | ||||
-rw-r--r-- | tools/hotplug/common/Makefile | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/tools/hotplug/Linux/Makefile b/tools/hotplug/Linux/Makefile index d3662a8455..5401592ae1 100644 --- a/tools/hotplug/Linux/Makefile +++ b/tools/hotplug/Linux/Makefile @@ -1,4 +1,4 @@ -XEN_ROOT = ../../.. +XEN_ROOT = $(CURDIR)/../../.. include $(XEN_ROOT)/tools/Rules.mk # Init scripts. diff --git a/tools/hotplug/Makefile b/tools/hotplug/Makefile index e22cae4fa5..f147b5918c 100644 --- a/tools/hotplug/Makefile +++ b/tools/hotplug/Makefile @@ -1,4 +1,4 @@ -XEN_ROOT = ../.. +XEN_ROOT = $(CURDIR)/../.. include $(XEN_ROOT)/tools/Rules.mk SUBDIRS-y := common diff --git a/tools/hotplug/NetBSD/Makefile b/tools/hotplug/NetBSD/Makefile index 98c1c5bbd4..2ae5a34ebc 100644 --- a/tools/hotplug/NetBSD/Makefile +++ b/tools/hotplug/NetBSD/Makefile @@ -1,4 +1,4 @@ -XEN_ROOT = ../../.. +XEN_ROOT = $(CURDIR)/../../.. include $(XEN_ROOT)/tools/Rules.mk # Xen script dir and scripts to go there. diff --git a/tools/hotplug/common/Makefile b/tools/hotplug/common/Makefile index 35fab6daf2..fe6ae4b466 100644 --- a/tools/hotplug/common/Makefile +++ b/tools/hotplug/common/Makefile @@ -1,4 +1,4 @@ -XEN_ROOT = ../../.. +XEN_ROOT = $(CURDIR)/../../.. include $(XEN_ROOT)/tools/Rules.mk HOTPLUGPATH="hotplugpath.sh" |