libxc/Makefile's VPATH issue
Hello,
c/s 17138 introduced the use of VPATH instead of symlinks to access to libelf files. However, that not only provides access to .c files, but also to .o files. That means that if one compiles the hypervisor before the tools, libxenguest.a contains .o files intended to the hypervisor, containing references to printk, etc. and thus is unusable.
Is there a good reason against reverting to symlinks, or maybe another way to achieve the same?
Samuel
Quoted 7 lines · Samuel Thibault
Hello,
c/s 17138 introduced the use of VPATH instead of symlinks to access to libelf files. However, that not only provides access to .c files, but also to .o files. That means that if one compiles the hypervisor before the tools, libxenguest.a contains .o files intended to the hypervisor, containing references to printk, etc. and thus is unusable.
You mean c/s 16891?
Quoted 2 lines
Is there a good reason against reverting to symlinks, or maybe another way to achieve the same?
vpath %.c ../../xen/common/libelf
Perhaps?
-- Keir
Quoted 6 lines
Samuel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 8 lines · Keir Fraser, le Mon 09 Jun 2008 11:54:08 +0100, a écrit :
Quoted 5 lines · Samuel Thibault
c/s 17138 introduced the use of VPATH instead of symlinks to access to libelf files. However, that not only provides access to .c files, but also to .o files. That means that if one compiles the hypervisor before the tools, libxenguest.a contains .o files intended to the hypervisor, containing references to printk, etc. and thus is unusable.
You mean c/s 16891?
Oops, yes, sorry, I was looking in my own tree.
Quoted 6 lines
Quoted 2 lines
Is there a good reason against reverting to symlinks, or maybe another way to achieve the same?
vpath %.c ../../xen/common/libelf
Perhaps?
It does work indeed. I guess we already depend on possibly GNU-only features anyway?
Samuel
Quoted 2 lines · Samuel Thibault
It does work indeed. I guess we already depend on possibly GNU-only features anyway?
Yes.
john