aboutsummaryrefslogtreecommitdiffstats
path: root/Config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Config.mk')
-rw-r--r--Config.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/Config.mk b/Config.mk
index e089fbd7c8..3ba6479766 100644
--- a/Config.mk
+++ b/Config.mk
@@ -4,6 +4,9 @@ ifeq ($(filter /%,$(XEN_ROOT)),)
$(error XEN_ROOT must be absolute)
endif
+# fallback for older make
+realpath = $(wildcard $(foreach file,$(1),$(shell cd -P $(dir $(file)) && echo "$$PWD/$(notdir $(file))")))
+
-include $(XEN_ROOT)/.config
# A debug build of Xen and tools?