Stubdom needs to compile and link libelf in xen. Using relative path breaks that.
Signed-off-by: Wei Liu <wei.l...@citrix.com> --- 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@lists.xen.org http://lists.xen.org/xen-devel