On 4/6/21 7:34 PM, quanyang.wang wrote:
> From: Quanyang Wang <[email protected]>
> 
> When LICENSE is assigned to "CLOSED", it only means not to do the
> license checking on LIC_FILES_CHKSUM which is very unreliable.
> The license is still unknown for the packages with "CLOSED" lincese.
> We can change the license to "MIT" and set COPYING.MIT to be the
> license file.

This is incorrect.  The generated PDI, CDO and HDF files are proprietary closed
source files.  They are not licensed MIT.

For mb-realloc I'm not sure what the license is.  I will check with our teams
and see if it should be MIT licensed.

The layer (recipes and other meta data) are intended to be MIT licensed, however
the other contents like these files often contain proprietary data.  (Xilinx,
third party and/or end user created.)

The sample files we provide are licensed under at least the following license:

 https://github.com/Xilinx/hdf-examples/blob/rel-v2020.3/LICENSE.md

but as the end user constructs their devices, bitstreams, etc they will
integrate additional third party IP that may have additional license 
restrictions.

--Mark

> Signed-off-by: Quanyang Wang <[email protected]>
> ---
>  conf/layer.conf                      | 1 +
>  recipes-bsp/base-pdi/base-pdi_1.0.bb | 3 ++-
>  recipes-bsp/cdo/extract-cdo_1.0.bb   | 3 ++-
>  recipes-bsp/hdf/external-hdf.bb      | 3 ++-
>  recipes-utils/mb-realoc/mb-realoc.bb | 3 ++-
>  5 files changed, 9 insertions(+), 4 deletions(-)
> 
> diff --git a/conf/layer.conf b/conf/layer.conf
> index f9d54f5..8ed3a75 100644
> --- a/conf/layer.conf
> +++ b/conf/layer.conf
> @@ -14,6 +14,7 @@ BBFILE_PATTERN_xilinx-tools = "^${LAYERDIR}/"
>  LAYERDEPENDS_xilinx-tools  = "core xilinx meta-python"
>  
>  XLNX_SCRIPTS_DIR = "${LAYERDIR}/scripts/"
> +LAYER_PATH_xilinx-tools = "${LAYERDIR}/"
>  
>  XILINX_VER_MAIN ??= "2020.2"
>  SDK_LOCAL_CONF_WHITELIST_append = " XILINX_SDK_TOOLCHAIN XILINX_VER_MAIN"
> diff --git a/recipes-bsp/base-pdi/base-pdi_1.0.bb 
> b/recipes-bsp/base-pdi/base-pdi_1.0.bb
> index 81a9866..96fe3ca 100644
> --- a/recipes-bsp/base-pdi/base-pdi_1.0.bb
> +++ b/recipes-bsp/base-pdi/base-pdi_1.0.bb
> @@ -1,6 +1,7 @@
>  DESCRIPTION = "Recipe to deploy base pdi"
>  
> -LICENSE = "CLOSED"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = 
> "file://${LAYER_PATH_xilinx-tools}/COPYING.MIT;md5=73e7e9c1f2600c38de6f1244509383d9"
>  
>  PROVIDES = "virtual/base-pdi"
>  
> diff --git a/recipes-bsp/cdo/extract-cdo_1.0.bb 
> b/recipes-bsp/cdo/extract-cdo_1.0.bb
> index 45dbe55..410b630 100644
> --- a/recipes-bsp/cdo/extract-cdo_1.0.bb
> +++ b/recipes-bsp/cdo/extract-cdo_1.0.bb
> @@ -1,6 +1,7 @@
>  DESCRIPTION = "Recipe to copy external cdos"
>  
> -LICENSE = "CLOSED"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = 
> "file://${LAYER_PATH_xilinx-tools}/COPYING.MIT;md5=73e7e9c1f2600c38de6f1244509383d9"
>  
>  inherit deploy
>  
> diff --git a/recipes-bsp/hdf/external-hdf.bb b/recipes-bsp/hdf/external-hdf.bb
> index ac13d76..1d889d5 100644
> --- a/recipes-bsp/hdf/external-hdf.bb
> +++ b/recipes-bsp/hdf/external-hdf.bb
> @@ -1,6 +1,7 @@
>  DESCRIPTION = "Recipe to copy and install externally built XSA to deploy"
>  
> -LICENSE = "CLOSED"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = 
> "file://${LAYER_PATH_xilinx-tools}/COPYING.MIT;md5=73e7e9c1f2600c38de6f1244509383d9"
>  
>  PROVIDES = "virtual/hdf"
>  
> diff --git a/recipes-utils/mb-realoc/mb-realoc.bb 
> b/recipes-utils/mb-realoc/mb-realoc.bb
> index b34cab2..56c1c44 100644
> --- a/recipes-utils/mb-realoc/mb-realoc.bb
> +++ b/recipes-utils/mb-realoc/mb-realoc.bb
> @@ -1,6 +1,7 @@
>  DESCRIPTION = "mb-realoc"
>  
> -LICENSE = "CLOSED"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = 
> "file://${LAYER_PATH_xilinx-tools}/COPYING.MIT;md5=73e7e9c1f2600c38de6f1244509383d9"
>  
>  PROVIDES = "virtual/elfrealloc"
>  
> 
> 
> 
> 
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#4881): 
https://lists.yoctoproject.org/g/meta-xilinx/message/4881
Mute This Topic: https://lists.yoctoproject.org/mt/81905253/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to