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

Re: [Xen-devel] [PATCH] stubdom: fix link farm runes



Wei Liu, on Mon 15 Feb 2016 19:40:28 +0000, wrote:
> Previously in the three problematic libraries all public headers were
> linked to source code directory. We should have created a include
> directory and link headers there.
> 
> Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>

Indeed, 31d2d1e0 (Move xenstore and libxc public headers to include
subdir) should have done that.

Acked-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>

> ---
> Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
> Cc: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
> Cc: Ian Campbell <ian.campbell@xxxxxxxxxx>
> Cc: Wei Liu <wei.liu2@xxxxxxxxxx>
> Cc: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
> ---
>  stubdom/Makefile | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/stubdom/Makefile b/stubdom/Makefile
> index 6f68e98..2044d76 100644
> --- a/stubdom/Makefile
> +++ b/stubdom/Makefile
> @@ -314,9 +314,9 @@ mk-headers-$(XEN_TARGET_ARCH): $(IOEMU_LINKFARM_TARGET)
>         ln -sf $(wildcard $(XEN_ROOT)/tools/include/xen-foreign/*) 
> include/xen-foreign/ && \
>         $(MAKE) DESTDIR= -C include/xen-foreign/ && \
>         ( [ -h include/xen/foreign ] || ln -sf ../xen-foreign 
> include/xen/foreign )
> -     mkdir -p libs-$(XEN_TARGET_ARCH)/toollog
> +     mkdir -p libs-$(XEN_TARGET_ARCH)/toollog/include
>       [ -h libs-$(XEN_TARGET_ARCH)/toollog/Makefile ] || ( cd 
> libs-$(XEN_TARGET_ARCH)/toollog && \
> -       ln -sf $(XEN_ROOT)/tools/libs/toollog/include/*.h . && \
> +       ln -sf $(XEN_ROOT)/tools/libs/toollog/include/*.h include/ && \
>         ln -sf $(XEN_ROOT)/tools/libs/toollog/*.c . && \
>         ln -sf $(XEN_ROOT)/tools/libs/toollog/Makefile . )
>       mkdir -p libs-$(XEN_TARGET_ARCH)/evtchn/include
> @@ -343,17 +343,17 @@ mk-headers-$(XEN_TARGET_ARCH): $(IOEMU_LINKFARM_TARGET)
>         ln -sf $(XEN_ROOT)/tools/libs/foreignmemory/include/*.h include/ && \
>         ln -sf $(XEN_ROOT)/tools/libs/foreignmemory/*.c . && \
>         ln -sf $(XEN_ROOT)/tools/libs/foreignmemory/Makefile . )
> -     mkdir -p libxc-$(XEN_TARGET_ARCH)
> +     mkdir -p libxc-$(XEN_TARGET_ARCH)/include
>       [ -h libxc-$(XEN_TARGET_ARCH)/Makefile ] || ( cd 
> libxc-$(XEN_TARGET_ARCH) && \
>         ln -sf $(XEN_ROOT)/tools/libxc/*.h . && \
> -       ln -sf $(XEN_ROOT)/tools/libxc/include/*.h . && \
> +       ln -sf $(XEN_ROOT)/tools/libxc/include/*.h include/ && \
>         ln -sf $(XEN_ROOT)/tools/libxc/*.c . && \
>         ln -sf $(XEN_ROOT)/tools/libxc/Makefile . )
> -     mkdir -p xenstore
> +     mkdir -p xenstore/include
>       [ -h xenstore/Makefile ] || ( cd xenstore && \
>         ln -sf $(XEN_ROOT)/tools/xenstore/*.c . && \
>         ln -sf $(XEN_ROOT)/tools/xenstore/*.h . && \
> -       ln -sf $(XEN_ROOT)/tools/xenstore/include/*.h . && \
> +       ln -sf $(XEN_ROOT)/tools/xenstore/include/*.h include/ && \
>         ln -sf $(XEN_ROOT)/tools/xenstore/Makefile . )
>       $(MAKE) DESTDIR= -C $(MINI_OS) links
>       touch mk-headers-$(XEN_TARGET_ARCH)
> -- 
> 2.1.4
> 

-- 
Samuel
  bien sûr que ça convient mieux à tout le monde
  enfin, dans la mesure où tout le monde c'est comme moi
 -+- le consensus, c'est facile -+-

_______________________________________________
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®.