Skip to contentSkip to conversation

recipes: port LICENSE to SPDX

PATCH Applied Ross Burton 4 participants 7 messages Jul 21 – Jul 22

lore
Share & tools
lore
#0 lore raw

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
index ede5b80a76..87a8a34886 100644
@@ -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
index d761a7ae63..c86d4a584e 100644
@@ -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
index 8010c523e1..408185e388 100644
@@ -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
index 447db59cd4..05d6a9f952 100644
@@ -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
index 70a3a37289..db7a5dffa2 100644
@@ -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
index f8a374b7f0..0dfa2dace6 100644
@@ -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
index 032445b3bd..495b0f2905 100644
@@ -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
index a65106f24e..e876bd1eaa 100644
@@ -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
index 8bd5dd5643..17951766e1 100644
@@ -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
index 211196b5f8..1e06559ce2 100644
@@ -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
index 3d0b80188e..9c70d0b581 100644
@@ -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
index ddaab88e8b..8fb0265e94 100644
@@ -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
index d3ab29d0e2..4ed6d8cb80 100644
@@ -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
index 7bea317cf3..ffc6200e77 100644
@@ -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
index 60558b6bca..43585982e9 100644
@@ -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
index 6d4422f99a..1c4753cbb2 100644
@@ -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
index 3c41d05c54..3a4789c57f 100644
@@ -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
index 5d87cef783..5059985563 100644
@@ -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
index ffd308fa95..84681b1585 100644
@@ -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
index bb9471bf88..8786d1bb5a 100644
@@ -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
index 22cc76ef25..2519b4c297 100644
@@ -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
index bdfccc48fd..c40d70bf8a 100644
@@ -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
Applied
#1 lore raw
Quoted 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]>
#2 lore raw
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
#3 lore raw

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

#4 lore raw
In reply to Ross Burton
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")

---
 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 -0

external-system_git.bb b/meta-arm-bsp/recipes-bsp/external-system/ external-system_git.bb
index ede5b80a76..87a8a34886 100644

meta-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..c86d4a584e 100644
---
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

meta-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.inc
meta-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 -0

gcc-aarch64-none-elf_15.3.rel1.bb b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/ gcc-aarch64-none-elf_15.3.rel1.bb
index 447db59cd4..05d6a9f952 100644
--- 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.bb

meta-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 -0

gcc-arm-none-eabi_15.3.rel1.bb b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/ gcc-arm-none-eabi_15.3.rel1.bb
index 70a3a37289..db7a5dffa2 100644
--- 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.bb

meta-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
index f8a374b7f0..0dfa2dace6 100644
@@ -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"

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
index 032445b3bd..495b0f2905 100644
@@ -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
index a65106f24e..e876bd1eaa 100644
@@ -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
index 8bd5dd5643..17951766e1 100644
@@ -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..1e06559ce2 100644

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
 
(quoted diff) +0 -0

trusted-firmware-a_2.14.2.bb b/meta-arm/recipes-bsp/trusted-firmware-a/ trusted-firmware-a_2.14.2.bb
index 3d0b80188e..9c70d0b581 100644

meta-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.inc
meta-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 and

trusted-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 index d3ab29d0e2..4ed6d8cb80 100644
---
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

meta-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 and

trusted-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 index 7bea317cf3..ffc6200e77 100644
---
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

meta-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 and

trusted-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 -0

trusted-firmware-rmm_0.6.0.bb b/meta-arm/recipes-bsp/trusted-firmware-rmm/ trusted-firmware-rmm_0.6.0.bb
index 60558b6bca..43585982e9 100644
--- 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.bb

meta-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
index 6d4422f99a..1c4753cbb2 100644
@@ -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
index 3c41d05c54..3a4789c57f 100644
@@ -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 +0 -0
index 5d87cef783..5059985563 100644
@@ -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
index ffd308fa95..84681b1585 100644
@@ -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
index bb9471bf88..8786d1bb5a 100644
@@ -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

diff --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..2519b4c297 100644

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

diff --git a/meta-arm/recipes-security/trusted-services/trusted-services.inc b/meta-arm/recipes-security/trusted-services/trusted-services.inc index bdfccc48fd..c40d70bf8a 100644

meta-arm/recipes-security/trusted-services/trusted-services.inc +0 -0
@@ -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"

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]]
-=-=-=-=-=-=-=-=-=-=-=-

#5 lore raw
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")

---
 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 -0

external-system_git.bb b/meta-arm-bsp/recipes-bsp/external-system/ external-system_git.bb
index ede5b80a76..87a8a34886 100644

meta-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..c86d4a584e 100644
---
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

meta-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.inc
meta-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 -0

gcc-aarch64-none-elf_15.3.rel1.bb b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/ gcc-aarch64-none-elf_15.3.rel1.bb
index 447db59cd4..05d6a9f952 100644
--- 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.bb

meta-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 -0
 SUMMARY = "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 -0

gcc-arm-none-eabi_15.3.rel1.bb b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/ gcc-arm-none-eabi_15.3.rel1.bb
index 70a3a37289..db7a5dffa2 100644
--- 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.bb

meta-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
index f8a374b7f0..0dfa2dace6 100644
@@ -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"

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
index 032445b3bd..495b0f2905 100644
@@ -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
index a65106f24e..e876bd1eaa 100644
@@ -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
index 8bd5dd5643..17951766e1 100644
@@ -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..1e06559ce2 100644

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
 
(quoted diff) +0 -0

trusted-firmware-a_2.14.2.bb b/meta-arm/recipes-bsp/trusted-firmware-a/ trusted-firmware-a_2.14.2.bb
index 3d0b80188e..9c70d0b581 100644

meta-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.inc
meta-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 and

trusted-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 index d3ab29d0e2..4ed6d8cb80 100644
---
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

meta-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 and

trusted-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 index 7bea317cf3..ffc6200e77 100644
---
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

meta-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 and

trusted-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 -0

trusted-firmware-rmm_0.6.0.bb b/meta-arm/recipes-bsp/trusted-firmware-rmm/ trusted-firmware-rmm_0.6.0.bb
index 60558b6bca..43585982e9 100644
--- 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.bb

meta-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
index 6d4422f99a..1c4753cbb2 100644
@@ -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
index 3c41d05c54..3a4789c57f 100644
@@ -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 +0 -0
index 5d87cef783..5059985563 100644
@@ -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
index ffd308fa95..84681b1585 100644
@@ -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
index bb9471bf88..8786d1bb5a 100644
@@ -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

diff --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..2519b4c297 100644

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

diff --git a/meta-arm/recipes-security/trusted-services/trusted-services.inc b/meta-arm/recipes-security/trusted-services/trusted-services.inc index bdfccc48fd..c40d70bf8a 100644

meta-arm/recipes-security/trusted-services/trusted-services.inc +0 -0
@@ -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"

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

#6 lore raw
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