aboutsummaryrefslogtreecommitdiffstats
path: root/Config.mk
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2011-10-07 09:35:31 +0100
committerIan Campbell <ian.campbell@citrix.com>2011-10-07 09:35:31 +0100
commit1116f63434680b1549576513e507089ed9dfe63b (patch)
tree883c1942cf9ee7137ccd29529ec09e824ad64dff /Config.mk
parent69698ae65775e8f7a2b789400421cb38dbacced0 (diff)
downloadxen-1116f63434680b1549576513e507089ed9dfe63b.tar.gz
xen-1116f63434680b1549576513e507089ed9dfe63b.tar.bz2
xen-1116f63434680b1549576513e507089ed9dfe63b.zip
Config.mk: error out on non-absolute $(XEN_ROOT)
Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'Config.mk')
-rw-r--r--Config.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Config.mk b/Config.mk
index e346c57a24..bc28b9eede 100644
--- a/Config.mk
+++ b/Config.mk
@@ -1,5 +1,9 @@
# -*- mode: Makefile; -*-
+ifeq ($(filter /%,$(XEN_ROOT)),)
+$(error XEN_ROOT must be absolute)
+endif
+
-include $(XEN_ROOT)/.config
# A debug build of Xen and tools?