[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Config.mk: error out on non-absolute $(XEN_ROOT)



# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1317976531 -3600
# Node ID 5b5394a55813dfa778a8c944bc0e6a0956629f64
# Parent  86d54c2950879ff7faa0f476bac40a12b87153e6
Config.mk: error out on non-absolute $(XEN_ROOT)

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Committed-by: Keir Fraser <keir@xxxxxxx>
---


diff -r 86d54c295087 -r 5b5394a55813 Config.mk
--- a/Config.mk Fri Oct 07 09:35:12 2011 +0100
+++ b/Config.mk Fri Oct 07 09:35:31 2011 +0100
@@ -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?

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.