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

Re: [Xen-devel] [PATCH] Fix gmp stubdom build when DESTDIR is used



On Wed, 2013-01-02 at 22:01 +0000, Matthew Fioravante wrote:
> The default make targets in the top level makefile set DESTDIR
> which gets applied when the stubdom makefile
> tries to do a make install within gmp to install libgmp.a
> to the cross root.
> 
> Ian, do you want to apply this to your tree and commit the whole thing
> or would you prefer I roll out a fresh new patch set with all updates
> applied?

As I said in <1355830264.14620.196.camel@xxxxxxxxxxxxxxxxxxxxxx> I think
it would be best to have a fresh set to avoid confusion etc.
> Signed-off-by: Matthew Fioravante <matthew.fioravante@xxxxxxxxxx>

Although a bit counter intuitive this is what is done for all the
stubdom libraries since they need to be installed into the cross dir and
not actually installed, so:

Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

Ian.

> ---
>  stubdom/Makefile |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/stubdom/Makefile b/stubdom/Makefile
> index 7519683..3006ad6 100644
> --- a/stubdom/Makefile
> +++ b/stubdom/Makefile
> @@ -173,7 +173,7 @@ cross-gmp: $(GMP_STAMPFILE)
>  $(GMP_STAMPFILE): gmp-$(XEN_TARGET_ARCH)
>       ( cd $< && \
>         $(MAKE) && \
> -       $(MAKE) install )
> +       $(MAKE) DESTDIR= install )
>  
>  #############
>  # cross-polarssl



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