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

Re: [Xen-devel] [PATCH 1/7] stubdom: fix "make build"



Wei Liu, le Mon 02 Feb 2015 12:58:57 +0000, a écrit :
> Cross compiling libxc requires some symlinks to exist.
> 
> Note that make -C tools/include requires running tools/configure. But at
> least now the error message is much better than just a "file not found"
> error.
> 
> Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
> Cc: Ian Campbell <ian.campbell@xxxxxxxxxx>
> Cc: Ian Jakcson <ian.jackson@xxxxxxxxxxxxx>

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

> ---
>  stubdom/Makefile | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/stubdom/Makefile b/stubdom/Makefile
> index 8fb885a..58ca08c 100644
> --- a/stubdom/Makefile
> +++ b/stubdom/Makefile
> @@ -333,6 +333,8 @@ $(TARGETS_MINIOS): mini-os-%:
>  .PHONY: libxc
>  libxc: libxc-$(XEN_TARGET_ARCH)/libxenctrl.a 
> libxc-$(XEN_TARGET_ARCH)/libxenguest.a
>  libxc-$(XEN_TARGET_ARCH)/libxenctrl.a: cross-zlib
> +     $(MAKE) -C $(XEN_ROOT)/tools/include
> +     $(MAKE) DESTDIR= -C $(MINI_OS) links
>       CPPFLAGS="$(TARGET_CPPFLAGS)" CFLAGS="$(TARGET_CFLAGS)" $(MAKE) 
> DESTDIR= CONFIG_LIBXC_MINIOS=y -C libxc-$(XEN_TARGET_ARCH)
>  
>   libxc-$(XEN_TARGET_ARCH)/libxenguest.a: 
> libxc-$(XEN_TARGET_ARCH)/libxenctrl.a
> -- 
> 1.9.1
> 

-- 
Samuel
<s> on se croirait en cool : Some browsers close comments on the first ">" 
character, so to hide script content from such browsers, you can transpose 
operands for relational and shift operators (e.g., use "y < x" rather than "x > 
y") or use scripting language-dependent escapes for ">".
 -+- #ens-mim -+-

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