Commit Graph

43 Commits

Author SHA1 Message Date
Ernest Van Hoecke
2311db60ae fsl-eula-unpack.bbclass: Add NXP License v58
This is required to update firmware-imx which uses the new license, but
we leave the EULA unchanged since scarthgap is still using NXP BSP
LF6.6.52-2.2.0.

Signed-off-by: Ernest Van Hoecke <ernest.vanhoecke@toradex.com>
2025-04-15 16:35:44 +02:00
Benjamin Szőke
629140672e EULA: Update to v57
(cherry picked from commit 9e09c96405)
2024-10-21 21:22:24 +00:00
Benjamin Szőke
1dc6c2a65b EULA: Update to v56
(cherry picked from commit 7eea973661)
2024-06-24 12:18:49 +00:00
Oleksandr Suvorov
03d400ca8b EULA: Update to v53
This version is used in NXP BSP LF6.6.3-1.0.0.

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
2024-04-01 21:48:10 +03:00
Max Krummenacher
0a9b7135ab EULA,SCR: Update to v49 for NXP release 6.1.55-2.2.0
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-01-16 10:34:29 +01:00
Tom Hochstein
8687e10df7 EULA,SCR: Update for NXP release 6.1.36-2.1.0
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-10-30 14:29:11 -07:00
Tom Hochstein
413a8b64a5 fsl-eula-unpack.bbclass: Add v44 EULA sum
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-08-21 11:48:06 -07:00
Daiane Angolini
af6bb957e5 fsl-eula-unpack.bbclass: Update EULA for NXP release 6.1.22-2.0.0 EULA is V45 now.
Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
2023-07-26 17:20:38 -03:00
Jun Zhu
f32b6cd9d5 fsl-eula-unpack.bbclass: Update EULA for NXP release 6.1.1-1.0.0
EULA is V42 now.

Signed-off-by: Jun Zhu <junzhu@nxp.com>
2023-04-09 22:45:38 +08:00
Laurits Riple
f4cd8cd278 bb.data.update_data is deprecated 2022-11-15 00:27:09 +01:00
Tom Hochstein
9537272254 EULA,SCR: Update for NXP release 5.15.52-2.1.0
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-10-23 10:43:18 -05:00
Tom Hochstein
98275f8772 fsl-eula-unpack.bbclass: Expose a function for reuse
Expose find_nxp_eula_licenses for others to use.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-08-10 10:59:34 -05:00
Tom Hochstein
42458b2586 fsl-eula-unpack.bbclass: Rework logic order
Simple order change to simplify the change in the next commit.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-08-10 10:58:31 -05:00
Tom Hochstein
4f9ab86277 fsl-eula-unpack.bbclass: Fail if fsl-eula=true is missing
It doesn't make sense to inherit the class but not use it.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-08-10 10:57:46 -05:00
Tom Hochstein
a4f0b0c251 EULA,SCR: Update for NXP release 5.15.32-2.0.0
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-07-28 13:49:29 -05:00
Tom Hochstein
923b963a17 EULA,SCR: Update for NXP release 5.15.5-1.0.0
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-05-10 10:19:44 -05:00
Tom Hochstein
b1e0530e12 fsl-eula-unpack.bbclass: Unpack NXP EULA archives last
NXP EULA archive-based builds like imx-gpu-viv fail because the unpacked
folder is empty:

```
ERROR: imx-gpu-viv-1_6.4.3.p2.4-aarch64-r0 do_populate_lic: QA Issue: imx-gpu-viv: LIC_FILES_CHKSUM points to an invalid file: /opt/work/upstream/fsl-xwayland/tmp/work/cortexa53-crypto-mx8m-fsl-linux/imx-gpu-viv/1_6.4.3.p2.4-aarch64-r0/imx-gpu-viv-6.4.3.p2.4-aarch64/COPYING [license-checksum]
```

This is traced to a change in bitbake:

```
b074f4a ast: Improve function flags handling for EXPORT_FUNCTIONS
```

That change includes a fix for cleandirs, so now the call to base_unpack,
done after the NXP EULA archive unpack, does now remove the folder(s)
created by the NXP EULA archive unpack.

Fix the problem by simply unpacking the NXP EULA archives last.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-04-15 20:46:30 -05:00
Tom Hochstein
0c6b09180d EULA,SCR: Update for NXP release 5.10.72-2.2.0
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-01-07 11:48:33 -06:00
Andrey Zhizhikin
bb8ff1bbbf Update EULA and SCR for NXP release 5.10.52-2.1.0
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2021-10-22 19:15:38 +00:00
Khem Raj
59d36c9832 layer: Convert to new override syntax
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-12 10:08:24 -07:00
Tom Hochstein
e453ee3a8d Update EULA and SCR for NXP release 5.10.35-2.0.0
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-07-02 08:05:13 -05:00
Tom Hochstein
0692f62161 fsl-eula-unpack: Update EULA to v22 for NXP release 5.4.70-2.3.2
NXP release 5.4.70-2.3.2 uses EULA version 22. Also add entries for
versions 18 and 19.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-04-26 17:21:56 -03:00
Tom Hochstein
b4f8db80dd fsl-eula-unpack: Document EULA v16 and v17
Add entries for EULA versions 16 and 17. The next NXP release
5.4.70-2.3.0 uses version 17.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-01-21 08:37:58 -03:00
Tom Hochstein
121de9ad79 fsl-eula-unpack: Add historic V13 EULA info
This missing license version is not causing any known problem, but
adding it shouldn't cause a problem and could be useful if a V13
archive should surface.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-01-21 08:37:58 -03:00
Tom Hochstein
c2d3d99233 EULA: Update to LA_OPT_NXP_Software_License v15 August 2020
Update the EULA file in the layer and the corresponding variable
in fsl-eula-unpack.bbclass.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-11-13 19:04:43 -03:00
Andrey Zhizhikin
9a685f1927 fsl-eula-unpack.bbclass: add v15 license md5sum
Latest NXP release 5.4.47-2.2.0 includes components which has license
files updated to version 15 of LA_OPT_NXP_Software_License.

Record the checksum of the new file version in the class in order to
allow those components to be used.

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2020-10-27 10:10:15 -03:00
Tom Hochstein
984a5e67b9 EULA: Update to LA_OPT_NXP_Software_License v11 February 2020
Update the EULA file in the layer and the corresponding variable
in fsl-eula-unpack.bbclass.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-09-23 23:42:37 -03:00
Samuli Piippo
4689674e6c fsl-eula-unpack: exclude FSL_EULA_FILE from sstate signature
Use vardepsexclude for FSL_EULA_FILE variable to to make sstate cache
usable from different build directories.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2020-08-13 09:55:54 -03:00
Tom Hochstein
c1f37d5b64 EULA: Update to v10
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-16 10:32:38 -03:00
Max Krummenacher
629639a28c fsl-eula-unpack.bbclass: add latest license md5sum
The 4.14.98-2.3.0 BSP targeting latest SoC silicon revisions uses an even
newer license text 'LA_OPT_NXP_Software_License v10 December 2019'.
And the upcomming 5.4.3-2.0.0 BSP uses yet another one:
'LA_OPT_NXP_Software_License v11 February 2020'.

Add their md5sums additionally.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-04-16 10:29:19 -03:00
Tom Hochstein
a9015f8b11 fsl-eula-unpack.bbclass: Enhance EULA model
Each new version of the EULA is meant to be a click
through that includes any existing packages with an
older EULA. The latest EULA is also copied in the
layer.

Capture this model in the class by listing the
known EULAs and checking that any package
has a known EULA. The new model also allows
extensibility, so new EULAs can be introduced
separately.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-10 14:54:00 -03:00
Otavio Salvador
74eb1e5b9c Revert "fsl-eula-unpack.bbclass: Enhance EULA model"
This reverts commit 9418435542.
2020-03-27 20:23:44 -03:00
Tom Hochstein
9418435542 fsl-eula-unpack.bbclass: Enhance EULA model
Each new version of the EULA is meant to be a click
through that includes any existing packages with an
older EULA. The latest EULA is also copied in the
layer.

Capture this model in the class by listing the
known EULAs and checking that any package
has a known EULA. The new model also allows
extensibility, so new EULAs can be introduced
separately.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-03-27 10:14:14 -03:00
Tom Hochstein
237a47a907 fsl-eula-unpack.bbclass: Cleanup
- Remove current working directory handling and use
  the equivalent runfetchcmd workdir parameter
- Simplify the SRC_URI for loop

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-03-27 10:14:14 -03:00
Tom Hochstein
b8b557ff8b fsl-eula-unpack.bbclass: Verify LICENSE contains Proprietary
All EULA packages are proprietary, so verify that the recipe LICENSE
contains Proprietary before fetching the package.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-03-03 18:24:53 -03:00
Cristinel Panfir
27eeb35a81 Update mdsum in fsl-eula-unpack bbclass
-update license mdsum for firmware, codec, parser and vpu

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
2020-01-07 18:48:07 -03:00
André Draszik
74df05a7f0 remove True option to getVar calls
getVar() has been defaulting to expanding by default for
a long time (2016), thus remove the True option from
getVar() calls with a regex search and replace.

Search & replace made using the following command:
    sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \
        -i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \
             | cut -d':' -f1 \
             | sort -u)

Signed-off-by: André Draszik <andre.draszik@jci.com>
2019-01-17 14:29:17 +00:00
Tom Hochstein
d583149d52 EULA: Update to v24
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-08-30 21:57:08 -03:00
Lauren Post
290b4cd2e6 EULA: Update license and eula class to EULA v14 version
Signed-off-by: Lauren Post <lauren.post@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-18 16:26:14 -02:00
Lauren Post
431bef46fb EULA: Update EULA to March v12 version
Update mdsum in fsl-eula-unpack class
pdate license mdsum in firmware, codec, parser and vpu

Signed-off-by: Lauren Post <lauren.post@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19 15:06:34 -03:00
Lauren Post
4155fe2fdb EULA: Update to LA_OPT_BASE_LICENSE v10 November 2015
Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19 15:03:26 -03:00
Lauren Post
8df5dceb0a EULA: Update to 2015.06 v8 version
License updated to 2015.06 v8 version.
Update checksum in the fsl-eula-unpack class

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19 15:03:13 -03:00
Otavio Salvador
f8517afc7a Move meta-fsl-arm content to layer root
The meta-fsl-arm is going to be used as the base for this layer. It
contains a clean history and allowing a more granullar set of changes.

This commit is just a rename of all contents of meta-fsl-arm
subdirectory to this layer's root, subsequent changes are based on top
of that.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-16 15:01:29 -03:00