From: Wei Liu Date: Wed, 9 Mar 2016 19:18:41 +0000 (+0000) Subject: libxc: use $XEN_ROOT to reference libelf in xen X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=30233899cab15afa234ca975abf24cb6d95437f3;p=people%2Fliuw%2Fxen.git 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 --- diff --git a/tools/libxc/Makefile b/tools/libxc/Makefile index 1619c06d75..3a0a839481 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