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

[Xen-devel] [PATCH RFC v1 3/6] libxc: use $XEN_ROOT to reference libelf in xen



Stubdom needs to compile and link libelf in xen. Using relative path
breaks that.

Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
 tools/libxc/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/libxc/Makefile b/tools/libxc/Makefile
index 1619c06..3a0a839 100644
--- a/tools/libxc/Makefile
+++ b/tools/libxc/Makefile
@@ -68,8 +68,8 @@ else
 GUEST_SRCS-y += xc_nomigrate.c
 endif
 
-vpath %.c ../../xen/common/libelf
-CFLAGS += -I../../xen/common/libelf
+vpath %.c $(XEN_ROOT)/xen/common/libelf
+CFLAGS += -I$(XEN_ROOT)/xen/common/libelf
 
 ELF_SRCS-y += libelf-tools.c libelf-loader.c
 ELF_SRCS-y += libelf-dominfo.c
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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