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

Re: [Xen-devel] [PATCH v4 1/2] Created tools/shared directory containing MD5 files



On Wed, Sep 12, 2018 at 05:40:36PM +0000, Joshua Perrett wrote:
> MD5 code is originally from the public domain (written by Colin Plumb in
> 1993), files taken from xen/tools/blktap2/drivers/. They have been
> modified slightly (useful functions made public).
> 
> Signed-off-by: Joshua perrett <jperrett256@xxxxxxxxx>
> ---
>  tools/Makefile        |   1 +
>  tools/Rules.mk        |   1 +
>  tools/shared/Makefile |  21 ++++
>  tools/shared/md5.c    | 266 
> ++++++++++++++++++++++++++++++++++++++++++++++++++
>  tools/shared/md5.h    |  26 +++++
>  5 files changed, 315 insertions(+)
>  create mode 100644 tools/shared/Makefile
>  create mode 100644 tools/shared/md5.c
>  create mode 100644 tools/shared/md5.h
> 
> diff --git a/tools/Makefile b/tools/Makefile
> index 67977ad850..34ec41790d 100644
> --- a/tools/Makefile
> +++ b/tools/Makefile
> @@ -24,6 +24,7 @@ SUBDIRS-$(CONFIG_BLKTAP2) += blktap2
>  SUBDIRS-$(CONFIG_NetBSD) += xenbackendd
>  SUBDIRS-y += libfsimage
>  SUBDIRS-$(CONFIG_Linux) += libvchan
> +SUBDIRS-y += shared

I'm afraid building this in the shared directory is not quite right.

You will need to use vpath in libxl/Makefile to add the shared/
directory to libxl.

See https://www.gnu.org/software/make/manual/html_node/General-Search.html
and libxc/Makefile for example.

Wei.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.