On Mon, Jul 22, 2019 at 07:44:23PM +0200, Christian Hermann wrote:
> Signed-off-by: Christian Hermann <[email protected]>
> ---
>  rules/fuse.make | 10 +++++++++-
>  1 file changed, 9 insertions(+), 1 deletion(-)
> 
> diff --git a/rules/fuse.make b/rules/fuse.make
> index b3c55bfe5..88c6eae1e 100644
> --- a/rules/fuse.make
> +++ b/rules/fuse.make
> @@ -21,7 +21,15 @@ FUSE_SUFFIX        := tar.gz
>  FUSE_URL     := 
> https://github.com/libfuse/libfuse/releases/download/$(FUSE)/$(FUSE).$(FUSE_SUFFIX)
>  FUSE_SOURCE  := $(SRCDIR)/$(FUSE).$(FUSE_SUFFIX)
>  FUSE_DIR     := $(BUILDDIR)/$(FUSE)
> -FUSE_LICENSE := GPL-2.0-only AND LGPL-2.1-only
> +ifdef PTXCONF_FUSE_UTIL
> +FUSE_LICENSE := GPL-2.0-only
> +endif
> +ifdef PTXCONF_FUSE_LIB
> +ifdef FUSE_LICENSE
> +FUSE_LICENSE += AND
> +endif
> +FUSE_LICENSE += LGPL-2.1-only
> +endif

fusermount uses mount_util.c from lib/ so LGPL-2.1-only applies for the
utils as well.
So it's always LGPL-2.1-only and GPL-2.0-only if utils are enabled.

Michael

>  
>  # 
> ----------------------------------------------------------------------------
>  # Prepare
> -- 
> 2.22.0
> 
> 
> _______________________________________________
> ptxdist mailing list
> [email protected]
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
[email protected]

Reply via email to