recipes: port LICENSE to SPDX
PATCH 1/1 recipes: port LICENSE to SPDX
openembedded-core now parses the LICENSE field as a SPDX license expression[1], so convert the license statements.
This is mostly replacing "&" with "AND", but we can also use "WITH" in the GCC recipes.
[1] oe-core e9d424738d6 ("classes/conf/lib: Parse LICENSE as SPDX Expression")
--- meta-arm-bsp/recipes-bsp/external-system/external-system_git.bb | 2 +- .../recipes-bsp/trusted-firmware-a/trusted-firmware-a-rdn2.inc | 2 +- .../recipes-bsp/trusted-firmware-a/trusted-firmware-a-rdv2.inc | 2 +- .../external-arm-toolchain/gcc-aarch64-none-elf_15.3.rel1.bb | 2 +- .../external-arm-toolchain/gcc-arm-none-eabi_15.3.rel1.bb | 2 +- meta-arm/recipes-bsp/hafnium/hafnium_2.14.0.bb | 2 +- meta-arm/recipes-bsp/scp-firmware/scp-firmware.inc | 2 +- meta-arm/recipes-bsp/trusted-firmware-a/tf-a-tests_2.14.0.bb | 2 +- meta-arm/recipes-bsp/trusted-firmware-a/tf-a-tests_2.15.0.bb | 2 +- meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc | 2 +- .../recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.14.2.bb | 2 +- .../trusted-firmware-m/trusted-firmware-m-2.2.2-src.inc | 2 +- .../trusted-firmware-m/trusted-firmware-m-2.3.0-src.inc | 2 +- .../trusted-firmware-m/trusted-firmware-m-git-src.inc | 2 +- .../trusted-firmware-rmm/trusted-firmware-rmm_0.6.0.bb | 2 +- meta-arm/recipes-bsp/uefi/sbsa-acs_7.2.2.bb | 2 +- meta-arm/recipes-devtools/fvp/fvp-base-a-aem_11.31.28.bb | 2 +- meta-arm/recipes-devtools/fvp/fvp-common.inc | 2 +- meta-arm/recipes-devtools/gator-daemon/gator-daemon_7.8.0.bb | 2 +- meta-arm/recipes-security/optee/optee-test.inc | 2 +- .../recipes-security/trusted-services/trusted-services-src.inc | 2 +- meta-arm/recipes-security/trusted-services/trusted-services.inc | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-)
meta-arm-bsp/recipes-bsp/external-system/external-system_git.bb +1 -1
@@ -4,7 +4,7 @@ DESCRIPTION = "Firmware to be loaded and run in External System Harness in\ HOMEPAGE = "https://git.linaro.org/landing-teams/working/arm/external-system.git" DEPENDS = "gcc-arm-none-eabi-native" INHIBIT_DEFAULT_DEPS = "1" -LICENSE = "BSD-3-Clause & Apache-2.0" +LICENSE = "Apache-2.0 AND BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=e44b2531cd6ffe9dece394dbe988d9a0 \ file://cmsis/LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e"
meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-rdn2.inc +1 -1
@@ -38,7 +38,7 @@ LIC_FILES_CHKSUM_MBEDTLS ??= "" # add MBEDTLS to our sources if activated SRC_URI:append = " ${@bb.utils.contains('TFA_MBEDTLS', '1', '${SRC_URI_MBEDTLS}', '', d)}" # Update license variables -LICENSE:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', ' & Apache-2.0', '', d)}" +LICENSE:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', ' AND Apache-2.0', '', d)}" LIC_FILES_CHKSUM:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', ' ${LIC_FILES_CHKSUM_MBEDTLS}', '', d)}" # add mbed TLS to version SRCREV_FORMAT:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', '_mbedtls', '', d)}"
meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-rdv2.inc +1 -1
@@ -38,7 +38,7 @@ LIC_FILES_CHKSUM_MBEDTLS ??= "" # add MBEDTLS to our sources if activated SRC_URI:append = " ${@bb.utils.contains('TFA_MBEDTLS', '1', '${SRC_URI_MBEDTLS}', '', d)}" # Update license variables -LICENSE:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', ' & Apache-2.0', '', d)}" +LICENSE:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', ' AND Apache-2.0', '', d)}" LIC_FILES_CHKSUM:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', ' ${LIC_FILES_CHKSUM_MBEDTLS}', '', d)}" # add mbed TLS to version SRCREV_FORMAT:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', '_mbedtls', '', d)}"
meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-aarch64-none-elf_15.3.rel1.bb +1 -1
@@ -6,7 +6,7 @@ require arm-binary-toolchain.inc COMPATIBLE_HOST = "(x86_64|aarch64).*-linux" SUMMARY = "Arm GNU Toolchain - AArch64 bare-metal target (aarch64-none-elf)" -LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only" +LICENSE = "GPL-3.0-or-later AND GPL-3.0-or-later WITH GCC-exception-3.1" LIC_FILES_CHKSUM:aarch64 = "file://share/doc/gcc/Copying.html;md5=90014a59d1783b37a10240d4d0002c6e" LIC_FILES_CHKSUM:x86-64 = "file://share/doc/gcc/Copying.html;md5=90014a59d1783b37a10240d4d0002c6e"
meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_15.3.rel1.bb +1 -1
@@ -6,7 +6,7 @@ require arm-binary-toolchain.inc COMPATIBLE_HOST = "(x86_64|aarch64).*-linux" SUMMARY = "Arm GNU Toolchain - AArch32 bare-metal target (arm-none-eabi)" -LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only" +LICENSE = "GPL-3.0-or-later AND GPL-3.0-or-later WITH GCC-exception-3.1" LIC_FILES_CHKSUM:aarch64 = "file://share/doc/gcc/Copying.html;md5=90014a59d1783b37a10240d4d0002c6e" LIC_FILES_CHKSUM:x86-64 = "file://share/doc/gcc/Copying.html;md5=90014a59d1783b37a10240d4d0002c6e"
meta-arm/recipes-bsp/hafnium/hafnium_2.14.0.bb +1 -1
@@ -2,7 +2,7 @@ SUMMARY = "Hafnium" DESCRIPTION = "A reference Secure Partition Manager (SPM) for systems that implement the Armv8.4-A Secure-EL2 extension" DEPENDS = "gn-native ninja-native bison-native bc-native dtc-native openssl-native clang-native lld-native" -LICENSE = "BSD-3-Clause & GPL-2.0-only" +LICENSE = "BSD-3-Clause AND GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=782b40c14bad5294672c500501edc103" PACKAGE_ARCH = "${MACHINE_ARCH}"
meta-arm/recipes-bsp/scp-firmware/scp-firmware.inc +1 -1
@@ -2,7 +2,7 @@ SUMMARY = "SCP and MCP Firmware" DESCRIPTION = "Firmware for SCP and MCP software reference implementation" HOMEPAGE = "https://gitlab.arm.com/firmware/SCP-firmware" -LICENSE = "BSD-3-Clause & Apache-2.0" +LICENSE = "Apache-2.0 AND BSD-3-Clause" LIC_FILES_CHKSUM = "file://license.md;beginline=5;md5=9db9e3d2fb8d9300a6c3d15101b19731 \ file://contrib/cmsis/git/LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e"
meta-arm/recipes-bsp/trusted-firmware-a/tf-a-tests_2.14.0.bb +1 -1
@@ -1,5 +1,5 @@ DESCRIPTION = "Trusted Firmware-A tests(aka TFTF)" -LICENSE = "BSD-3-Clause & NCSA" +LICENSE = "BSD-3-Clause AND NCSA" LIC_FILES_CHKSUM += "file://docs/license.rst;md5=6175cc0aa2e63b6d21a32aa0ee7d1b4a"
meta-arm/recipes-bsp/trusted-firmware-a/tf-a-tests_2.15.0.bb +1 -1
@@ -1,5 +1,5 @@ DESCRIPTION = "Trusted Firmware-A tests(aka TFTF)" -LICENSE = "BSD-3-Clause & NCSA" +LICENSE = "BSD-3-Clause AND NCSA" LIC_FILES_CHKSUM += "file://docs/license.rst;md5=6175cc0aa2e63b6d21a32aa0ee7d1b4a"
meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc +1 -1
@@ -1,6 +1,6 @@ DESCRIPTION = "Trusted Firmware-A" HOMEPAGE = "https://trustedfirmware-a.readthedocs.io/" -LICENSE = "BSD-2-Clause & BSD-3-Clause & MIT & Apache-2.0" +LICENSE = "Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT" inherit firmware
meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.14.2.bb +1 -1
@@ -19,7 +19,7 @@ LIC_FILES_CHKSUM_MBEDTLS ??= "" # add MBEDTLS to our sources if activated SRC_URI:append = " ${@bb.utils.contains('TFA_MBEDTLS', '1', '${SRC_URI_MBEDTLS}', '', d)}" # Update license variables -LICENSE:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', ' & Apache-2.0', '', d)}" +LICENSE:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', ' AND Apache-2.0', '', d)}" LIC_FILES_CHKSUM:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', ' ${LIC_FILES_CHKSUM_MBEDTLS}', '', d)}" # add mbed TLS to version SRCREV_FORMAT:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', '_mbedtls', '', d)}"
meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m-2.2.2-src.inc +1 -1
@@ -1,6 +1,6 @@ # Common src definitions for trusted-firmware-m and trusted-firmware-m-scripts -LICENSE = "BSD-2-Clause & BSD-3-Clause & Apache-2.0" +LICENSE = "Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause" LIC_FILES_CHKSUM = "file://license.rst;md5=07f368487da347f3c7bd0fc3085f3afa \ file://external/tf-m-tests/license.rst;md5=4481bae2221b0cfca76a69fb3411f390 \
meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m-2.3.0-src.inc +1 -1
@@ -1,6 +1,6 @@ # Common src definitions for trusted-firmware-m and trusted-firmware-m-scripts -LICENSE = "BSD-2-Clause & BSD-3-Clause & Apache-2.0" +LICENSE = "Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause" LIC_FILES_CHKSUM = "file://license.rst;md5=002a64dec64b82c58a203a94bee7b2a1 \ file://external/tf-m-tests/license.rst;md5=4481bae2221b0cfca76a69fb3411f390 \
meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m-git-src.inc +1 -1
@@ -1,6 +1,6 @@ # Common src definitions for trusted-firmware-m and trusted-firmware-m-scripts -LICENSE = "BSD-2-Clause & BSD-3-Clause & Apache-2.0" +LICENSE = "Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause" LIC_FILES_CHKSUM = "file://license.rst;md5=07f368487da347f3c7bd0fc3085f3afa \ file://external/tf-m-tests/license.rst;md5=4481bae2221b0cfca76a69fb3411f390 \
meta-arm/recipes-bsp/trusted-firmware-rmm/trusted-firmware-rmm_0.6.0.bb +1 -1
@@ -1,6 +1,6 @@ SUMMARY = "RMM Firmware" DESCRIPTION = "RMM Firmware for Arm reference platforms" -LICENSE = "BSD-3-Clause & MIT" +LICENSE = "BSD-3-Clause AND MIT" SRC_URI = "gitsm://git.trustedfirmware.org/TF-RMM/tf-rmm.git;protocol=https;branch=main" SRCREV = "7f6bc132caef3596fbb88d3a419c2a3cb499cde2"
meta-arm/recipes-bsp/uefi/sbsa-acs_7.2.2.bb +1 -1
@@ -1,7 +1,7 @@ require recipes-bsp/uefi/edk2-firmware_202605.bb PROVIDES:remove = "virtual/bootloader" -LICENSE += "& Apache-2.0" +LICENSE += "AND Apache-2.0" LIC_FILES_CHKSUM += "file://ShellPkg/Application/sbsa-acs/LICENSE.md;md5=2a944942e1496af1886903d274dedb13" SRC_URI += "git://github.com/ARM-software/sbsa-acs;destsuffix=edk2/ShellPkg/Application/sbsa-acs;protocol=https;branch=master;name=acs \
meta-arm/recipes-devtools/fvp/fvp-base-a-aem_11.31.28.bb +1 -1
@@ -1,6 +1,6 @@ require fvp-envelope.inc -LICENSE:append = " & Artistic-2.0 & BSL-1.0 & BSD-2-Clause & Unlicense" +LICENSE:append = " AND Artistic-2.0 AND BSL-1.0 AND BSD-2-Clause AND Unlicense" SUMMARY = "Arm Fixed Virtual Platform - Armv-A Base RevC Architecture Envelope Model FVP" LIC_FILES_CHKSUM = "file://license_terms/license_agreement.txt;md5=1a33828e132ba71861c11688dbb0bd16 \
meta-arm/recipes-devtools/fvp/fvp-common.inc +1 -1
@@ -1,7 +1,7 @@ HOMEPAGE = "https://developer.arm.com/tools-and-software/simulation-models/fixed-virtual-platforms" LICENSE_FLAGS = "Arm-FVP-EULA" -LICENSE = "Proprietary & Apache-2.0 & Python-2.0 & GPL-3.0-with-GCC-exception & Zlib & NCSA & LGPL-2.0-or-later & MIT & BSD-3-Clause" +LICENSE = "Apache-2.0 AND BSD-3-Clause AND GPL-3.0-or-later WITH GCC-exception-3.1 AND LGPL-2.0-or-later AND MIT AND NCSA AND Python-2.0 AND Zlib AND LicenseRef-Proprietary" # FVP has an End User License Agreement. Add Arm-FVP-EULA to # LICENSE_FLAGS_ACCEPTED if the EULA has been accepted, so it can
meta-arm/recipes-devtools/gator-daemon/gator-daemon_7.8.0.bb +1 -1
@@ -8,7 +8,7 @@ HOMEPAGE = "https://github.com/ARM-software/gator" # configuration requirement specified here: # https://github.com/ARM-software/gator#kernel-configuration -LICENSE = "GPL-2.0-only & LGPL-2.1-or-later & Apache-2.0" +LICENSE = "Apache-2.0 AND GPL-2.0-only AND LGPL-2.1-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ file://libsensors/COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c \ file://mxml/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327 \
meta-arm/recipes-security/optee/optee-test.inc +1 -1
@@ -2,7 +2,7 @@ SUMMARY = "OP-TEE sanity testsuite" DESCRIPTION = "Open Portable Trusted Execution Environment - Test suite" HOMEPAGE = "https://www.op-tee.org/" -LICENSE = "BSD-2-Clause & GPL-2.0-only" +LICENSE = "BSD-2-Clause AND GPL-2.0-only" inherit python3native ptest inherit deploy
meta-arm/recipes-security/trusted-services/trusted-services-src.inc +1 -1
@@ -1,6 +1,6 @@ # Define sources of Trusted Service and all external dependencies -LICENSE = "Apache-2.0 & BSD-3-Clause & BSD-2-Clause & Zlib" +LICENSE = "Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND Zlib" FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
meta-arm/recipes-security/trusted-services/trusted-services.inc +1 -1
@@ -1,7 +1,7 @@ SUMMARY ?= "The Trusted Services: framework for developing root-of-trust services" HOMEPAGE = "https://trusted-services.readthedocs.io/en/latest/index.html" -LICENSE = "Apache-2.0 & BSD-3-Clause & Zlib" +LICENSE = "Apache-2.0 AND BSD-3-Clause AND Zlib" inherit python3native cmake pkgconfig
Signature · 1 line
2.43.0
Jon Mason
AppliedQuoted 9 lines · Ross Burton
openembedded-core now parses the LICENSE field as a SPDX license expression[1], so convert the license statements.
This is mostly replacing "&" with "AND", but we can also use "WITH" in the GCC recipes.
[1] oe-core
e9d424738d6("classes/conf/lib: Parse LICENSE as SPDX Expression")[...]
Applied, thanks!
[1/1] recipes: port LICENSE to SPDX
commit: dc8a847b6baa14a09d2df2a9f8fc421fc6e49bee
Best regards,
Signature · 1 line
Jon Mason <[email protected]>
Quoted 5 lines · Jon Mason
Quoted 3 lines · Ross Burton
openembedded-core now parses the LICENSE field as a SPDX license expression[1], so convert the license statements.
Quoted 8 lines
Quoted 6 lines
This is mostly replacing "&" with "AND", but we can also use "WITH" in the GCC recipes.
[1] oe-core
e9d424738d6("classes/conf/lib: Parse LICENSE as SPDX Expression")[...]
Applied, thanks!
What happened to review process and giving people time for that? Shouldn't there be at least 24 hours given?
As a matter of fact, I'm trying to confirm with Ross and Joshua that some of the changes are correct (haven't heard from them for a few hours though)
Signature · 1 line
Denys
All of CI was red, and even my local builds were full of warnings (making it difficult to debug the tests I was running). I was (over)eager to get it back to being sane. Sorry about that.
Believe it or not, I usually let things sit on here for a few days before pulling it in (unless someone is asking me to pull it in ASAP for deadlines, etc. and even then, I often push back).
Quoted 24 lines · Denys Dmytriyenko
Quoted 5 lines · Jon Mason
Quoted 3 lines · Ross Burton
openembedded-core now parses the LICENSE field as a SPDX license expression[1], so convert the license statements.
Quoted 8 lines
Quoted 6 lines
This is mostly replacing "&" with "AND", but we can also use "WITH" in the GCC recipes.
[1] oe-core
e9d424738d6("classes/conf/lib: Parse LICENSE as SPDX Expression")[...]
Applied, thanks!
What happened to review process and giving people time for that? Shouldn't there be at least 24 hours given?
As a matter of fact, I'm trying to confirm with Ross and Joshua that some of the changes are correct (haven't heard from them for a few hours though)
--
Denys
Quoted 112 lines · Ross Burton via lists.yoctoproject.org
openembedded-core now parses the LICENSE field as a SPDX license expression[1], so convert the license statements.
This is mostly replacing "&" with "AND", but we can also use "WITH" in the GCC recipes.
[1] oe-core
e9d424738d6("classes/conf/lib: Parse LICENSE as SPDX Expression")Signed-off-by Ross Burton <[email protected]>--- meta-arm-bsp/recipes-bsp/external-system/external-system_git.bb | 2 +- .../recipes-bsp/trusted-firmware-a/trusted-firmware-a-rdn2.inc | 2 +- .../recipes-bsp/trusted-firmware-a/trusted-firmware-a-rdv2.inc | 2 +- .../external-arm-toolchain/gcc-aarch64-none-elf_15.3.rel1.bb | 2 +- .../external-arm-toolchain/gcc-arm-none-eabi_15.3.rel1.bb | 2 +- meta-arm/recipes-bsp/hafnium/hafnium_2.14.0.bb | 2 +- meta-arm/recipes-bsp/scp-firmware/scp-firmware.inc | 2 +- meta-arm/recipes-bsp/trusted-firmware-a/tf-a-tests_2.14.0.bb | 2 +- meta-arm/recipes-bsp/trusted-firmware-a/tf-a-tests_2.15.0.bb | 2 +- meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc | 2 +- .../recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.14.2.bb | 2 +- .../trusted-firmware-m/trusted-firmware-m-2.2.2-src.inc | 2 +- .../trusted-firmware-m/trusted-firmware-m-2.3.0-src.inc | 2 +- .../trusted-firmware-m/trusted-firmware-m-git-src.inc | 2 +- .../trusted-firmware-rmm/trusted-firmware-rmm_0.6.0.bb | 2 +- meta-arm/recipes-bsp/uefi/sbsa-acs_7.2.2.bb | 2 +- meta-arm/recipes-devtools/fvp/fvp-base-a-aem_11.31.28.bb | 2 +- meta-arm/recipes-devtools/fvp/fvp-common.inc | 2 +- meta-arm/recipes-devtools/gator-daemon/gator-daemon_7.8.0.bb | 2 +- meta-arm/recipes-security/optee/optee-test.inc | 2 +- .../recipes-security/trusted-services/trusted-services-src.inc | 2 +- meta-arm/recipes-security/trusted-services/trusted-services.inc | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-)(quoted diff) +0
-0external-system_git.bb b/meta-arm-bsp/recipes-bsp/external-system/ external-system_git.bb
indexede5b80a76..87a8a34886100644meta-arm-bsp/recipes-bsp/external-system/external-system_git.bb +0
-0@@ -4,7 +4,7 @@ DESCRIPTION = "Firmware to be loaded and run in External System Harness in\ HOMEPAGE = "https://git.linaro.org/landing-teams/working/arm/external-system.git"
DEPENDS = "gcc-arm-none-eabi-native"
INHIBIT_DEFAULT_DEPS= "1"meta-arm-bsp/recipes-bsp/external-system/external-system_git.bb +1
-1-LICENSE = "BSD-3-Clause & Apache-2.0" +LICENSE = "Apache-2.0 AND BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=e44b2531cd6ffe9dece394dbe988d9a0 \ file://cmsis/LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e"diff --git a/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-rdn2.inc b/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-rdn2.inc index
d761a7ae63..c86d4a584e100644
---
a/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-rdn2.inc
+++
b/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-rdn2.incmeta-arm-bsp/recipes-bsp/external-system/external-system_git.bb +0
-0@@ -38,7 +38,7 @@ LIC_FILES_CHKSUM_MBEDTLS ??= "" # add MBEDTLS to our sources if activated SRC_URI:append = " ${@bb.utils.contains('TFA_MBEDTLS', '1','${SRC_URI_MBEDTLS}', '', d)}"
# Update license variables
-LICENSE:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', ' & Apache-2.0', '', d)}"
+LICENSE:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', ' AND Apache-2.0', '', d)}"
LIC_FILES_CHKSUM:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', '
${LIC_FILES_CHKSUM_MBEDTLS}', '', d)}"# add mbed TLS to version SRCREV_FORMAT:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', '_mbedtls', '', d)}" diff --git a/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-rdv2.inc b/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-rdv2.inc index 8010c523e1..408185e388 100644 --- a/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-rdv2.inc +++ b/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-rdv2.incmeta-arm-bsp/recipes-bsp/external-system/external-system_git.bb +0
-0@@ -38,7 +38,7 @@ LIC_FILES_CHKSUM_MBEDTLS ??= "" # add MBEDTLS to our sources if activated SRC_URI:append = " ${@bb.utils.contains('TFA_MBEDTLS', '1','${SRC_URI_MBEDTLS}', '', d)}"
# Update license variables
-LICENSE:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', ' & Apache-2.0', '', d)}"
+LICENSE:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', ' AND Apache-2.0', '', d)}"
LIC_FILES_CHKSUM:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', '
${LIC_FILES_CHKSUM_MBEDTLS}', '', d)}"# add mbed TLS to version SRCREV_FORMAT:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', '_mbedtls', '', d)}"(quoted diff) +0
-0gcc-aarch64-none-elf_15.3.rel1.bb b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/ gcc-aarch64-none-elf_15.3.rel1.bb
index447db59cd4..05d6a9f952100644
--- a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/ gcc-aarch64-none-elf_15.3.rel1.bb
+++ b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/ gcc-aarch64-none-elf_15.3.rel1.bbmeta-arm-bsp/recipes-bsp/external-system/external-system_git.bb +0
-0@@ -6,7 +6,7 @@ require arm-binary-toolchain.inc COMPATIBLE_HOST = "(x86_64|aarch64).*-linux" SUMMARY = "Arm GNU Toolchain - AArch64 bare-metal target(aarch64-none-elf)"
meta-arm-bsp/recipes-bsp/external-system/external-system_git.bb
Quoted 2 lines
meta-arm-bsp/recipes-bsp/external-system/external-system_git.bb +1
-1-LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only" +LICENSE = "GPL-3.0-or-later AND GPL-3.0-or-later WITH GCC-exception-3.1"
Per discussion, this should be "GPL-3.0-only AND GPL-3.0-or-later WITH GCC-exception-3.1"
Ross, did the script auto change this one or did you hand edit it?
Quoted 323 lines
LIC_FILES_CHKSUM:aarch64 =
"file://share/doc/gcc/Copying.html;md5=90014a59d1783b37a10240d4d0002c6e"
LIC_FILES_CHKSUM:x86-64 =
"file://share/doc/gcc/Copying.html;md5=90014a59d1783b37a10240d4d0002c6e"(quoted diff) +0
-0gcc-arm-none-eabi_15.3.rel1.bb b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/ gcc-arm-none-eabi_15.3.rel1.bb
index70a3a37289..db7a5dffa2100644
--- a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/ gcc-arm-none-eabi_15.3.rel1.bb
+++ b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/ gcc-arm-none-eabi_15.3.rel1.bbmeta-arm-bsp/recipes-bsp/external-system/external-system_git.bb +1
-1@@ -6,7 +6,7 @@ require arm-binary-toolchain.inc COMPATIBLE_HOST = "(x86_64|aarch64).*-linux" SUMMARY = "Arm GNU Toolchain - AArch32 bare-metal target (arm-none-eabi)" -LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only" +LICENSE = "GPL-3.0-or-later AND GPL-3.0-or-later WITH GCC-exception-3.1" LIC_FILES_CHKSUM:aarch64 ="file://share/doc/gcc/Copying.html;md5=90014a59d1783b37a10240d4d0002c6e"
LIC_FILES_CHKSUM:x86-64 =
"file://share/doc/gcc/Copying.html;md5=90014a59d1783b37a10240d4d0002c6e"meta-arm/recipes-bsp/hafnium/hafnium_2.14.0.bb +0
-0@@ -2,7 +2,7 @@ SUMMARY = "Hafnium" DESCRIPTION = "A reference Secure Partition Manager (SPM) for systemsthat implement the Armv8.4-A Secure-EL2 extension"
DEPENDS = "gn-native ninja-native bison-native bc-native dtc-native
openssl-native clang-native lld-native"meta-arm/recipes-bsp/hafnium/hafnium_2.14.0.bb +1
-1-LICENSE = "BSD-3-Clause & GPL-2.0-only" +LICENSE = "BSD-3-Clause AND GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=782b40c14bad5294672c500501edc103" PACKAGE_ARCH = "${MACHINE_ARCH}"meta-arm/recipes-bsp/scp-firmware/scp-firmware.inc +1
-1@@ -2,7 +2,7 @@ SUMMARY = "SCP and MCP Firmware" DESCRIPTION = "Firmware for SCP and MCP software reference implementation" HOMEPAGE = "https://gitlab.arm.com/firmware/SCP-firmware" -LICENSE = "BSD-3-Clause & Apache-2.0" +LICENSE = "Apache-2.0 AND BSD-3-Clause" LIC_FILES_CHKSUM = "file://license.md;beginline=5;md5=9db9e3d2fb8d9300a6c3d15101b19731 \file://contrib/cmsis/git/LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e"
meta-arm/recipes-bsp/trusted-firmware-a/tf-a-tests_2.14.0.bb +1
-1@@ -1,5 +1,5 @@ DESCRIPTION = "Trusted Firmware-A tests(aka TFTF)" -LICENSE = "BSD-3-Clause & NCSA" +LICENSE = "BSD-3-Clause AND NCSA" LIC_FILES_CHKSUM +="file://docs/license.rst;md5=6175cc0aa2e63b6d21a32aa0ee7d1b4a"
meta-arm/recipes-bsp/trusted-firmware-a/tf-a-tests_2.15.0.bb +1
-1@@ -1,5 +1,5 @@ DESCRIPTION = "Trusted Firmware-A tests(aka TFTF)" -LICENSE = "BSD-3-Clause & NCSA" +LICENSE = "BSD-3-Clause AND NCSA" LIC_FILES_CHKSUM +="file://docs/license.rst;md5=6175cc0aa2e63b6d21a32aa0ee7d1b4a"
diff --git a/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc b/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc index
211196b5f8..1e06559ce2100644meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc +1
-1@@ -1,6 +1,6 @@ DESCRIPTION = "Trusted Firmware-A" HOMEPAGE = "https://trustedfirmware-a.readthedocs.io/" -LICENSE = "BSD-2-Clause & BSD-3-Clause & MIT & Apache-2.0" +LICENSE = "Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT" inherit firmware(quoted diff) +0
-0trusted-firmware-a_2.14.2.bb b/meta-arm/recipes-bsp/trusted-firmware-a/ trusted-firmware-a_2.14.2.bb
index3d0b80188e..9c70d0b581100644meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.14.2.bb +0
-0@@ -19,7 +19,7 @@ LIC_FILES_CHKSUM_MBEDTLS ??= "" # add MBEDTLS to our sources if activated SRC_URI:append = " ${@bb.utils.contains('TFA_MBEDTLS', '1','${SRC_URI_MBEDTLS}', '', d)}"
# Update license variables
-LICENSE:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', ' & Apache-2.0', '', d)}"
+LICENSE:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', ' AND Apache-2.0', '', d)}"
LIC_FILES_CHKSUM:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', '
${LIC_FILES_CHKSUM_MBEDTLS}', '', d)}"# add mbed TLS to version SRCREV_FORMAT:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', '_mbedtls', '', d)}" diff --git a/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m-2.2.2-src.inc b/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m-2.2.2-src.inc index ddaab88e8b..8fb0265e94 100644 --- a/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m-2.2.2-src.inc +++ b/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m-2.2.2-src.incmeta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.14.2.bb +0
-0@@ -1,6 +1,6 @@ # Common src definitions for trusted-firmware-m andtrusted-firmware-m-scripts
meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.14.2.bb +1
-1-LICENSE = "BSD-2-Clause & BSD-3-Clause & Apache-2.0" +LICENSE = "Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause" LIC_FILES_CHKSUM ="file://license.rst;md5=07f368487da347f3c7bd0fc3085f3afa \
file://external/tf-m-tests/license.rst;md5=4481bae2221b0cfca76a69fb3411f390
\
diff --git a/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m-2.3.0-src.inc b/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m-2.3.0-src.inc indexd3ab29d0e2..4ed6d8cb80100644
---
a/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m-2.3.0-src.inc
+++
b/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m-2.3.0-src.incmeta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.14.2.bb +0
-0@@ -1,6 +1,6 @@ # Common src definitions for trusted-firmware-m andtrusted-firmware-m-scripts
meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.14.2.bb +1
-1-LICENSE = "BSD-2-Clause & BSD-3-Clause & Apache-2.0" +LICENSE = "Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause" LIC_FILES_CHKSUM ="file://license.rst;md5=002a64dec64b82c58a203a94bee7b2a1 \
file://external/tf-m-tests/license.rst;md5=4481bae2221b0cfca76a69fb3411f390
\
diff --git a/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m-git-src.inc b/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m-git-src.inc index7bea317cf3..ffc6200e77100644
---
a/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m-git-src.inc
+++
b/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m-git-src.incmeta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.14.2.bb +0
-0@@ -1,6 +1,6 @@ # Common src definitions for trusted-firmware-m andtrusted-firmware-m-scripts
meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.14.2.bb +1
-1-LICENSE = "BSD-2-Clause & BSD-3-Clause & Apache-2.0" +LICENSE = "Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause" LIC_FILES_CHKSUM ="file://license.rst;md5=07f368487da347f3c7bd0fc3085f3afa \
file://external/tf-m-tests/license.rst;md5=4481bae2221b0cfca76a69fb3411f390
\(quoted diff) +0
-0trusted-firmware-rmm_0.6.0.bb b/meta-arm/recipes-bsp/trusted-firmware-rmm/ trusted-firmware-rmm_0.6.0.bb
index60558b6bca..43585982e9100644
--- a/meta-arm/recipes-bsp/trusted-firmware-rmm/ trusted-firmware-rmm_0.6.0.bb
+++ b/meta-arm/recipes-bsp/trusted-firmware-rmm/ trusted-firmware-rmm_0.6.0.bbmeta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.14.2.bb +1
-1@@ -1,6 +1,6 @@ SUMMARY = "RMM Firmware" DESCRIPTION = "RMM Firmware for Arm reference platforms" -LICENSE = "BSD-3-Clause & MIT" +LICENSE = "BSD-3-Clause AND MIT" SRC_URI = "gitsm://git.trustedfirmware.org/TF-RMM/tf-rmm.git;protocol=https;branch=main"
SRCREV = "7f6bc132caef3596fbb88d3a419c2a3cb499cde2"meta-arm/recipes-bsp/uefi/sbsa-acs_7.2.2.bb +1
-1@@ -1,7 +1,7 @@ require recipes-bsp/uefi/edk2-firmware_202605.bb PROVIDES:remove = "virtual/bootloader" -LICENSE += "& Apache-2.0" +LICENSE += "AND Apache-2.0" LIC_FILES_CHKSUM +="file://ShellPkg/Application/sbsa-acs/LICENSE.md;md5=2a944942e1496af1886903d274dedb13"
SRC_URI+= "git://
github.com/ARM-software/sbsa-acs;destsuffix=edk2/ShellPkg/Application/sbsa-acs;protocol=https;branch=master;name=acs \meta-arm/recipes-devtools/fvp/fvp-base-a-aem_11.31.28.bb +1
-1@@ -1,6 +1,6 @@ require fvp-envelope.inc -LICENSE:append = " & Artistic-2.0 & BSL-1.0 & BSD-2-Clause & Unlicense" +LICENSE:append = " AND Artistic-2.0 AND BSL-1.0 AND BSD-2-Clause ANDUnlicense"
SUMMARY = "Arm Fixed Virtual Platform - Armv-A Base RevC Architecture
Envelope Model FVP"
LIC_FILES_CHKSUM=
"file://license_terms/license_agreement.txt;md5=1a33828e132ba71861c11688dbb0bd16 \meta-arm/recipes-devtools/fvp/fvp-common.inc +0
-0@@ -1,7 +1,7 @@ HOMEPAGE = "https://developer.arm.com/tools-and-software/simulation-models/fixed-virtual-platforms
"
LICENSE_FLAGS= "Arm-FVP-EULA"
-LICENSE = "Proprietary & Apache-2.0 & Python-2.0 & GPL-3.0-with-GCC-exception & Zlib & NCSA & LGPL-2.0-or-later & MIT & BSD-3-Clause"
+LICENSE = "Apache-2.0 AND BSD-3-Clause AND GPL-3.0-or-later WITH GCC-exception-3.1 AND LGPL-2.0-or-later AND MIT AND NCSA AND Python-2.0 AND Zlib AND LicenseRef-Proprietary"# FVP has an End User License Agreement. Add Arm-FVP-EULA to #
LICENSE_FLAGS_ACCEPTEDif the EULA has been accepted, so it canmeta-arm/recipes-devtools/gator-daemon/gator-daemon_7.8.0.bb +1
-1@@ -8,7 +8,7 @@ HOMEPAGE = "https://github.com/ARM-software/gator" # configuration requirement specified here: # https://github.com/ARM-software/gator#kernel-configuration -LICENSE = "GPL-2.0-only & LGPL-2.1-or-later & Apache-2.0" +LICENSE = "Apache-2.0 AND GPL-2.0-only AND LGPL-2.1-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ file://libsensors/COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c \file://mxml/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327 \
meta-arm/recipes-security/optee/optee-test.inc +1
-1@@ -2,7 +2,7 @@ SUMMARY = "OP-TEE sanity testsuite" DESCRIPTION = "Open Portable Trusted Execution Environment - Test suite" HOMEPAGE = "https://www.op-tee.org/" -LICENSE = "BSD-2-Clause & GPL-2.0-only" +LICENSE = "BSD-2-Clause AND GPL-2.0-only" inherit python3native ptest inherit deploydiff --git a/meta-arm/recipes-security/trusted-services/trusted-services-src.inc b/meta-arm/recipes-security/trusted-services/trusted-services-src.inc index
22cc76ef25..2519b4c297100644meta-arm/recipes-security/trusted-services/trusted-services-src.inc +1
-1@@ -1,6 +1,6 @@ # Define sources of Trusted Service and all external dependencies -LICENSE = "Apache-2.0 & BSD-3-Clause & BSD-2-Clause & Zlib" +LICENSE = "Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND Zlib" FILESEXTRAPATHS:prepend := "${THISDIR}/files:"diff --git a/meta-arm/recipes-security/trusted-services/trusted-services.inc b/meta-arm/recipes-security/trusted-services/trusted-services.inc index
bdfccc48fd..c40d70bf8a100644meta-arm/recipes-security/trusted-services/trusted-services.inc +0
-0@@ -1,7 +1,7 @@ SUMMARY ?= "The Trusted Services: framework for developing root-of-trustservices"
HOMEPAGE = "https://trusted-services.readthedocs.io/en/latest/index.html"meta-arm/recipes-security/trusted-services/trusted-services.inc +1
-2-LICENSE = "Apache-2.0 & BSD-3-Clause & Zlib" +LICENSE = "Apache-2.0 AND BSD-3-Clause AND Zlib" inherit python3native cmake pkgconfig --2.43.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#7119):
https://lists.yoctoproject.org/g/meta-arm/message/7119
Mute This Topic: https://lists.yoctoproject.org/mt/120375922/3616693
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arm/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 112 lines · Joshua Watt via lists.yoctoproject.org
Quoted 109 lines · Ross Burton via lists.yoctoproject.org
openembedded-core now parses the LICENSE field as a SPDX license expression[1], so convert the license statements.
This is mostly replacing "&" with "AND", but we can also use "WITH" in the GCC recipes.
[1] oe-core
e9d424738d6("classes/conf/lib: Parse LICENSE as SPDX Expression")Signed-off-by Ross Burton <[email protected]>--- meta-arm-bsp/recipes-bsp/external-system/external-system_git.bb | 2 +- .../recipes-bsp/trusted-firmware-a/trusted-firmware-a-rdn2.inc | 2 +- .../recipes-bsp/trusted-firmware-a/trusted-firmware-a-rdv2.inc | 2 +- .../external-arm-toolchain/gcc-aarch64-none-elf_15.3.rel1.bb | 2 +- .../external-arm-toolchain/gcc-arm-none-eabi_15.3.rel1.bb | 2 +- meta-arm/recipes-bsp/hafnium/hafnium_2.14.0.bb | 2 +- meta-arm/recipes-bsp/scp-firmware/scp-firmware.inc | 2 +- meta-arm/recipes-bsp/trusted-firmware-a/tf-a-tests_2.14.0.bb | 2 +- meta-arm/recipes-bsp/trusted-firmware-a/tf-a-tests_2.15.0.bb | 2 +- meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc | 2 +- .../recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.14.2.bb | 2 +- .../trusted-firmware-m/trusted-firmware-m-2.2.2-src.inc | 2 +- .../trusted-firmware-m/trusted-firmware-m-2.3.0-src.inc | 2 +- .../trusted-firmware-m/trusted-firmware-m-git-src.inc | 2 +- .../trusted-firmware-rmm/trusted-firmware-rmm_0.6.0.bb | 2 +- meta-arm/recipes-bsp/uefi/sbsa-acs_7.2.2.bb | 2 +- meta-arm/recipes-devtools/fvp/fvp-base-a-aem_11.31.28.bb | 2 +- meta-arm/recipes-devtools/fvp/fvp-common.inc | 2 +- meta-arm/recipes-devtools/gator-daemon/gator-daemon_7.8.0.bb | 2 +- meta-arm/recipes-security/optee/optee-test.inc | 2 +- .../recipes-security/trusted-services/trusted-services-src.inc | 2 +- meta-arm/recipes-security/trusted-services/trusted-services.inc | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-)(quoted diff) +0
-0external-system_git.bb b/meta-arm-bsp/recipes-bsp/external-system/ external-system_git.bb
indexede5b80a76..87a8a34886100644meta-arm-bsp/recipes-bsp/external-system/external-system_git.bb +0
-0@@ -4,7 +4,7 @@ DESCRIPTION = "Firmware to be loaded and run in External System Harness in\ HOMEPAGE = "https://git.linaro.org/landing-teams/working/arm/external-system.git"
DEPENDS = "gcc-arm-none-eabi-native"
INHIBIT_DEFAULT_DEPS= "1"meta-arm-bsp/recipes-bsp/external-system/external-system_git.bb +1
-1-LICENSE = "BSD-3-Clause & Apache-2.0" +LICENSE = "Apache-2.0 AND BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=e44b2531cd6ffe9dece394dbe988d9a0 \ file://cmsis/LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e"diff --git a/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-rdn2.inc b/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-rdn2.inc index
d761a7ae63..c86d4a584e100644
---
a/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-rdn2.inc
+++
b/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-rdn2.incmeta-arm-bsp/recipes-bsp/external-system/external-system_git.bb +0
-0@@ -38,7 +38,7 @@ LIC_FILES_CHKSUM_MBEDTLS ??= "" # add MBEDTLS to our sources if activated SRC_URI:append = " ${@bb.utils.contains('TFA_MBEDTLS', '1','${SRC_URI_MBEDTLS}', '', d)}"
# Update license variables
-LICENSE:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', ' & Apache-2.0', '', d)}"
+LICENSE:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', ' AND Apache-2.0', '', d)}"
LIC_FILES_CHKSUM:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', '
${LIC_FILES_CHKSUM_MBEDTLS}', '', d)}"# add mbed TLS to version SRCREV_FORMAT:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', '_mbedtls', '', d)}" diff --git a/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-rdv2.inc b/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-rdv2.inc index 8010c523e1..408185e388 100644 --- a/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-rdv2.inc +++ b/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-rdv2.incmeta-arm-bsp/recipes-bsp/external-system/external-system_git.bb +0
-0@@ -38,7 +38,7 @@ LIC_FILES_CHKSUM_MBEDTLS ??= "" # add MBEDTLS to our sources if activated SRC_URI:append = " ${@bb.utils.contains('TFA_MBEDTLS', '1','${SRC_URI_MBEDTLS}', '', d)}"
# Update license variables
-LICENSE:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', ' & Apache-2.0', '', d)}"
+LICENSE:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', ' AND Apache-2.0', '', d)}"
LIC_FILES_CHKSUM:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', '
${LIC_FILES_CHKSUM_MBEDTLS}', '', d)}"# add mbed TLS to version SRCREV_FORMAT:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', '_mbedtls', '', d)}"(quoted diff) +0
-0gcc-aarch64-none-elf_15.3.rel1.bb b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/ gcc-aarch64-none-elf_15.3.rel1.bb
index447db59cd4..05d6a9f952100644
--- a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/ gcc-aarch64-none-elf_15.3.rel1.bb
+++ b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/ gcc-aarch64-none-elf_15.3.rel1.bbmeta-arm-bsp/recipes-bsp/external-system/external-system_git.bb +0
-0@@ -6,7 +6,7 @@ require arm-binary-toolchain.inc COMPATIBLE_HOST = "(x86_64|aarch64).*-linux"
Quoted 8 lines
meta-arm-bsp/recipes-bsp/external-system/external-system_git.bb
Quoted 5 lines
meta-arm-bsp/recipes-bsp/external-system/external-system_git.bb +0
-0SUMMARY = "Arm GNU Toolchain - AArch64 bare-metal target(aarch64-none-elf)"
meta-arm-bsp/recipes-bsp/external-system/external-system_git.bb +1
-1-LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only" +LICENSE = "GPL-3.0-or-later AND GPL-3.0-or-later WITH GCC-exception-3.1"Per discussion, this should be "GPL-3.0-only AND GPL-3.0-or-later WITH GCC-exception-3.1"
Was exactly my point.
Quoted 1 line
Ross, did the script auto change this one or did you hand edit it?
The script doesn't change this and I know it for a fact, as I had to make a similar manual change and was quite confused by Ross' change, which didn't look right to me.
Quoted 309 lines
Quoted 309 lines
LIC_FILES_CHKSUM:aarch64 =
"file://share/doc/gcc/Copying.html;md5=90014a59d1783b37a10240d4d0002c6e"
LIC_FILES_CHKSUM:x86-64 =
"file://share/doc/gcc/Copying.html;md5=90014a59d1783b37a10240d4d0002c6e"(quoted diff) +0
-0gcc-arm-none-eabi_15.3.rel1.bb b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/ gcc-arm-none-eabi_15.3.rel1.bb
index70a3a37289..db7a5dffa2100644
--- a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/ gcc-arm-none-eabi_15.3.rel1.bb
+++ b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/ gcc-arm-none-eabi_15.3.rel1.bbmeta-arm-bsp/recipes-bsp/external-system/external-system_git.bb +1
-1@@ -6,7 +6,7 @@ require arm-binary-toolchain.inc COMPATIBLE_HOST = "(x86_64|aarch64).*-linux" SUMMARY = "Arm GNU Toolchain - AArch32 bare-metal target (arm-none-eabi)" -LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only" +LICENSE = "GPL-3.0-or-later AND GPL-3.0-or-later WITH GCC-exception-3.1" LIC_FILES_CHKSUM:aarch64 ="file://share/doc/gcc/Copying.html;md5=90014a59d1783b37a10240d4d0002c6e"
LIC_FILES_CHKSUM:x86-64 =
"file://share/doc/gcc/Copying.html;md5=90014a59d1783b37a10240d4d0002c6e"meta-arm/recipes-bsp/hafnium/hafnium_2.14.0.bb +0
-0@@ -2,7 +2,7 @@ SUMMARY = "Hafnium" DESCRIPTION = "A reference Secure Partition Manager (SPM) for systemsthat implement the Armv8.4-A Secure-EL2 extension"
DEPENDS = "gn-native ninja-native bison-native bc-native dtc-native
openssl-native clang-native lld-native"meta-arm/recipes-bsp/hafnium/hafnium_2.14.0.bb +1
-1-LICENSE = "BSD-3-Clause & GPL-2.0-only" +LICENSE = "BSD-3-Clause AND GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=782b40c14bad5294672c500501edc103" PACKAGE_ARCH = "${MACHINE_ARCH}"meta-arm/recipes-bsp/scp-firmware/scp-firmware.inc +1
-1@@ -2,7 +2,7 @@ SUMMARY = "SCP and MCP Firmware" DESCRIPTION = "Firmware for SCP and MCP software reference implementation" HOMEPAGE = "https://gitlab.arm.com/firmware/SCP-firmware" -LICENSE = "BSD-3-Clause & Apache-2.0" +LICENSE = "Apache-2.0 AND BSD-3-Clause" LIC_FILES_CHKSUM = "file://license.md;beginline=5;md5=9db9e3d2fb8d9300a6c3d15101b19731 \file://contrib/cmsis/git/LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e"
meta-arm/recipes-bsp/trusted-firmware-a/tf-a-tests_2.14.0.bb +1
-1@@ -1,5 +1,5 @@ DESCRIPTION = "Trusted Firmware-A tests(aka TFTF)" -LICENSE = "BSD-3-Clause & NCSA" +LICENSE = "BSD-3-Clause AND NCSA" LIC_FILES_CHKSUM +="file://docs/license.rst;md5=6175cc0aa2e63b6d21a32aa0ee7d1b4a"
meta-arm/recipes-bsp/trusted-firmware-a/tf-a-tests_2.15.0.bb +1
-1@@ -1,5 +1,5 @@ DESCRIPTION = "Trusted Firmware-A tests(aka TFTF)" -LICENSE = "BSD-3-Clause & NCSA" +LICENSE = "BSD-3-Clause AND NCSA" LIC_FILES_CHKSUM +="file://docs/license.rst;md5=6175cc0aa2e63b6d21a32aa0ee7d1b4a"
diff --git a/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc b/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc index
211196b5f8..1e06559ce2100644meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc +1
-1@@ -1,6 +1,6 @@ DESCRIPTION = "Trusted Firmware-A" HOMEPAGE = "https://trustedfirmware-a.readthedocs.io/" -LICENSE = "BSD-2-Clause & BSD-3-Clause & MIT & Apache-2.0" +LICENSE = "Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT" inherit firmware(quoted diff) +0
-0trusted-firmware-a_2.14.2.bb b/meta-arm/recipes-bsp/trusted-firmware-a/ trusted-firmware-a_2.14.2.bb
index3d0b80188e..9c70d0b581100644meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.14.2.bb +0
-0@@ -19,7 +19,7 @@ LIC_FILES_CHKSUM_MBEDTLS ??= "" # add MBEDTLS to our sources if activated SRC_URI:append = " ${@bb.utils.contains('TFA_MBEDTLS', '1','${SRC_URI_MBEDTLS}', '', d)}"
# Update license variables
-LICENSE:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', ' & Apache-2.0', '', d)}"
+LICENSE:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', ' AND Apache-2.0', '', d)}"
LIC_FILES_CHKSUM:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', '
${LIC_FILES_CHKSUM_MBEDTLS}', '', d)}"# add mbed TLS to version SRCREV_FORMAT:append = "${@bb.utils.contains('TFA_MBEDTLS', '1', '_mbedtls', '', d)}" diff --git a/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m-2.2.2-src.inc b/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m-2.2.2-src.inc index ddaab88e8b..8fb0265e94 100644 --- a/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m-2.2.2-src.inc +++ b/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m-2.2.2-src.incmeta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.14.2.bb +0
-0@@ -1,6 +1,6 @@ # Common src definitions for trusted-firmware-m andtrusted-firmware-m-scripts
meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.14.2.bb +1
-1-LICENSE = "BSD-2-Clause & BSD-3-Clause & Apache-2.0" +LICENSE = "Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause" LIC_FILES_CHKSUM ="file://license.rst;md5=07f368487da347f3c7bd0fc3085f3afa \
file://external/tf-m-tests/license.rst;md5=4481bae2221b0cfca76a69fb3411f390
\
diff --git a/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m-2.3.0-src.inc b/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m-2.3.0-src.inc indexd3ab29d0e2..4ed6d8cb80100644
---
a/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m-2.3.0-src.inc
+++
b/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m-2.3.0-src.incmeta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.14.2.bb +0
-0@@ -1,6 +1,6 @@ # Common src definitions for trusted-firmware-m andtrusted-firmware-m-scripts
meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.14.2.bb +1
-1-LICENSE = "BSD-2-Clause & BSD-3-Clause & Apache-2.0" +LICENSE = "Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause" LIC_FILES_CHKSUM ="file://license.rst;md5=002a64dec64b82c58a203a94bee7b2a1 \
file://external/tf-m-tests/license.rst;md5=4481bae2221b0cfca76a69fb3411f390
\
diff --git a/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m-git-src.inc b/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m-git-src.inc index7bea317cf3..ffc6200e77100644
---
a/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m-git-src.inc
+++
b/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m-git-src.incmeta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.14.2.bb +0
-0@@ -1,6 +1,6 @@ # Common src definitions for trusted-firmware-m andtrusted-firmware-m-scripts
meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.14.2.bb +1
-1-LICENSE = "BSD-2-Clause & BSD-3-Clause & Apache-2.0" +LICENSE = "Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause" LIC_FILES_CHKSUM ="file://license.rst;md5=07f368487da347f3c7bd0fc3085f3afa \
file://external/tf-m-tests/license.rst;md5=4481bae2221b0cfca76a69fb3411f390
\(quoted diff) +0
-0trusted-firmware-rmm_0.6.0.bb b/meta-arm/recipes-bsp/trusted-firmware-rmm/ trusted-firmware-rmm_0.6.0.bb
index60558b6bca..43585982e9100644
--- a/meta-arm/recipes-bsp/trusted-firmware-rmm/ trusted-firmware-rmm_0.6.0.bb
+++ b/meta-arm/recipes-bsp/trusted-firmware-rmm/ trusted-firmware-rmm_0.6.0.bbmeta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.14.2.bb +1
-1@@ -1,6 +1,6 @@ SUMMARY = "RMM Firmware" DESCRIPTION = "RMM Firmware for Arm reference platforms" -LICENSE = "BSD-3-Clause & MIT" +LICENSE = "BSD-3-Clause AND MIT" SRC_URI = "gitsm://git.trustedfirmware.org/TF-RMM/tf-rmm.git;protocol=https;branch=main"
SRCREV = "7f6bc132caef3596fbb88d3a419c2a3cb499cde2"meta-arm/recipes-bsp/uefi/sbsa-acs_7.2.2.bb +1
-1@@ -1,7 +1,7 @@ require recipes-bsp/uefi/edk2-firmware_202605.bb PROVIDES:remove = "virtual/bootloader" -LICENSE += "& Apache-2.0" +LICENSE += "AND Apache-2.0" LIC_FILES_CHKSUM +="file://ShellPkg/Application/sbsa-acs/LICENSE.md;md5=2a944942e1496af1886903d274dedb13"
SRC_URI+= "git://
github.com/ARM-software/sbsa-acs;destsuffix=edk2/ShellPkg/Application/sbsa-acs;protocol=https;branch=master;name=acs \meta-arm/recipes-devtools/fvp/fvp-base-a-aem_11.31.28.bb +1
-1@@ -1,6 +1,6 @@ require fvp-envelope.inc -LICENSE:append = " & Artistic-2.0 & BSL-1.0 & BSD-2-Clause & Unlicense" +LICENSE:append = " AND Artistic-2.0 AND BSL-1.0 AND BSD-2-Clause ANDUnlicense"
SUMMARY = "Arm Fixed Virtual Platform - Armv-A Base RevC Architecture
Envelope Model FVP"
LIC_FILES_CHKSUM=
"file://license_terms/license_agreement.txt;md5=1a33828e132ba71861c11688dbb0bd16 \meta-arm/recipes-devtools/fvp/fvp-common.inc +0
-0@@ -1,7 +1,7 @@ HOMEPAGE = "https://developer.arm.com/tools-and-software/simulation-models/fixed-virtual-platforms
"
LICENSE_FLAGS= "Arm-FVP-EULA"
-LICENSE = "Proprietary & Apache-2.0 & Python-2.0 & GPL-3.0-with-GCC-exception & Zlib & NCSA & LGPL-2.0-or-later & MIT & BSD-3-Clause"
+LICENSE = "Apache-2.0 AND BSD-3-Clause AND GPL-3.0-or-later WITH GCC-exception-3.1 AND LGPL-2.0-or-later AND MIT AND NCSA AND Python-2.0 AND Zlib AND LicenseRef-Proprietary"# FVP has an End User License Agreement. Add Arm-FVP-EULA to #
LICENSE_FLAGS_ACCEPTEDif the EULA has been accepted, so it canmeta-arm/recipes-devtools/gator-daemon/gator-daemon_7.8.0.bb +1
-1@@ -8,7 +8,7 @@ HOMEPAGE = "https://github.com/ARM-software/gator" # configuration requirement specified here: # https://github.com/ARM-software/gator#kernel-configuration -LICENSE = "GPL-2.0-only & LGPL-2.1-or-later & Apache-2.0" +LICENSE = "Apache-2.0 AND GPL-2.0-only AND LGPL-2.1-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ file://libsensors/COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c \file://mxml/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327 \
meta-arm/recipes-security/optee/optee-test.inc +1
-1@@ -2,7 +2,7 @@ SUMMARY = "OP-TEE sanity testsuite" DESCRIPTION = "Open Portable Trusted Execution Environment - Test suite" HOMEPAGE = "https://www.op-tee.org/" -LICENSE = "BSD-2-Clause & GPL-2.0-only" +LICENSE = "BSD-2-Clause AND GPL-2.0-only" inherit python3native ptest inherit deploydiff --git a/meta-arm/recipes-security/trusted-services/trusted-services-src.inc b/meta-arm/recipes-security/trusted-services/trusted-services-src.inc index
22cc76ef25..2519b4c297100644meta-arm/recipes-security/trusted-services/trusted-services-src.inc +1
-1@@ -1,6 +1,6 @@ # Define sources of Trusted Service and all external dependencies -LICENSE = "Apache-2.0 & BSD-3-Clause & BSD-2-Clause & Zlib" +LICENSE = "Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND Zlib" FILESEXTRAPATHS:prepend := "${THISDIR}/files:"diff --git a/meta-arm/recipes-security/trusted-services/trusted-services.inc b/meta-arm/recipes-security/trusted-services/trusted-services.inc index
bdfccc48fd..c40d70bf8a100644meta-arm/recipes-security/trusted-services/trusted-services.inc +0
-0@@ -1,7 +1,7 @@ SUMMARY ?= "The Trusted Services: framework for developing root-of-trustservices"
HOMEPAGE = "https://trusted-services.readthedocs.io/en/latest/index.html"meta-arm/recipes-security/trusted-services/trusted-services.inc +1
-2-LICENSE = "Apache-2.0 & BSD-3-Clause & Zlib" +LICENSE = "Apache-2.0 AND BSD-3-Clause AND Zlib" inherit python3native cmake pkgconfig --2.43.0
Quoted 6 lines · Denys Dmytriyenko
Quoted 2 lines
Ross, did the script auto change this one or did you hand edit it?
The script doesn't change this and I know it for a fact, as I had to make a similar manual change and was quite confused by Ross' change, which didn't look right to me.
That was entirely my fault. The script left a deprecated license and I used the wrong license when updating it to use WITH.
I’ll fix up now, thanks for noticing.
Ross