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.

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"
 
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#4880): 
https://lists.yoctoproject.org/g/meta-xilinx/message/4880
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