Skip to contentSkip to conversation

meta: update license names

PATCH In review Martin Jansa 2 participants 3 messages Feb 22, 2022 – Feb 23, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 meta: update license names

* openembedded-core/scripts/contrib/convert-spdx-licenses.py .
...
All files processed with version 0.01

---
 meta-arm-bsp/recipes-bsp/u-boot/u-boot_2020.07.bb         | 2 +-
 meta-arm-bsp/recipes-bsp/u-boot/u-boot_2021.10.bb         | 2 +-
 .../gcc-aarch64-none-elf_10.3-2021.07.bb                  | 2 +-
 .../gcc-arm-none-eabi_10.3-2021.10.bb                     | 2 +-
 .../recipes-devtools/external-arm-toolchain/license.inc   | 8 ++++----
 meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-10.3.inc  | 2 +-
 meta-arm/recipes-bsp/hafnium/hafnium_2.6.bb               | 2 +-
 .../trusted-firmware-m/trusted-firmware-m_1.5.0.bb        | 2 +-
 meta-arm/recipes-devtools/fvp/fvp-common.inc              | 2 +-
 .../recipes-devtools/gator-daemon/gator-daemon_7.7.0.bb   | 2 +-
 .../recipes-kernel/ffa-debugfs/ffa-debugfs-mod_2.1.0.bb   | 2 +-
 meta-arm/recipes-kernel/linux/linux-arm64-ack.inc         | 2 +-
 meta-arm/recipes-security/optee/optee-test.inc            | 2 +-
 meta-gem5/recipes-devtools/gem5/gem5-native.inc           | 2 +-
 14 files changed, 17 insertions(+), 17 deletions(-)
meta-arm-bsp/recipes-bsp/u-boot/u-boot_2020.07.bb +1 -1
index 4dc4a2f..cf6b07f 100644
@@ -6,7 +6,7 @@ application code."
 SECTION = "bootloaders"
 DEPENDS += "flex-native bison-native"
 
-LICENSE = "GPLv2+"
+LICENSE = "GPL-2.0-or-later"
 LIC_FILES_CHKSUM = "file://Licenses/README;md5=30503fd321432fc713238f582193b78e"
 PE = "1"
 
meta-arm-bsp/recipes-bsp/u-boot/u-boot_2021.10.bb +1 -1
index 2d3e95a..d117a88 100644
@@ -6,7 +6,7 @@ application code."
 SECTION = "bootloaders"
 DEPENDS += "flex-native bison-native"
 
-LICENSE = "GPLv2+"
+LICENSE = "GPL-2.0-or-later"
 LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025"
 PE = "1"
 
meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-aarch64-none-elf_10.3-2021.07.bb +1 -1
index c1758a3..02b5b43 100644
@@ -6,7 +6,7 @@ require arm-binary-toolchain.inc
 COMPATIBLE_HOST = "(x86_64|aarch64).*-linux"
 
 SUMMARY = "Baremetal GCC for Aarch64 processors"
-LICENSE = "GPL-3.0-with-GCC-exception & GPLv3"
+LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only"
 
 LIC_FILES_CHKSUM = "${@d.getVar(d.expand("LIC_FILES_CHKSUM_${HOST_ARCH}"))}"
 LIC_FILES_CHKSUM:aarch64 = "file://share/doc/gcc/Copying.html;md5=d06ace534ed0851debcb7140c5b5116e"
meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_10.3-2021.10.bb +1 -1
index 4100372..ad7e816 100644
@@ -6,7 +6,7 @@ require arm-binary-toolchain.inc
 COMPATIBLE_HOST = "(x86_64|aarch64).*-linux"
 
 SUMMARY = "Baremetal GCC for ARM-R and ARM-M processors"
-LICENSE = "GPL-3.0-with-GCC-exception & GPLv3"
+LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only"
 
 LIC_FILES_CHKSUM = "file://share/doc/gcc-arm-none-eabi/license.txt;md5=c18349634b740b7b95f2c2159af888f5"
 
meta-arm-toolchain/recipes-devtools/external-arm-toolchain/license.inc +4 -4
index 67daa41..10f2542 100644
@@ -1,4 +1,4 @@
-LICENSE = "GPL-3.0-with-GCC-exception & GPLv3 & GPLv2 & LGPLv3 & LGPLv2.1 & LGPLv2"
+LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only & GPL-2.0-only & LGPL-3.0-only & LGPL-2.1-only & LGPL-2.0-only"
 
 EAT_BFD_LICENSE = "GPL-3.0"
 EAT_GCC_LICENSE = "GPL-3.0-with-GCC-exception & GPLv3"
@@ -73,7 +73,7 @@ LICENSE:libubsan-dev = "${EAT_GCC_LICENSE}"
 LICENSE:libubsan = "${EAT_GCC_LICENSE}"
 LICENSE:libubsan-staticdev = "${EAT_GCC_LICENSE}"
 
-LICENSE:linux-libc-headers-dev = "GPLv2"
-LICENSE:linux-libc-headers = "GPLv2"
+LICENSE:linux-libc-headers-dev = "GPL-2.0-only"
+LICENSE:linux-libc-headers = "GPL-2.0-only"
 
-LICENSE:gdbserver = "GPLv2 & GPLv3 & LGPLv2 & LGPLv3"
+LICENSE:gdbserver = "GPL-2.0-only & GPL-3.0-only & LGPL-2.0-only & LGPL-3.0-only"
meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-10.3.inc +1 -1
index 19eb31b..20e6d3e 100644
@@ -18,7 +18,7 @@ FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-arm-${ARM_GCC_VERSION}:${FILE_DIRNAME}/g
 DEPENDS =+ "mpfr gmp libmpc zlib flex-native"
 NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native flex-native"
 
-LICENSE = "GPL-3.0-with-GCC-exception & GPLv3"
+LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only"
 
 LIC_FILES_CHKSUM = "\
     file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
meta-arm/recipes-bsp/hafnium/hafnium_2.6.bb +1 -1
index 0452272..96e455f 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"
 
-LICENSE = "BSD-3-Clause & GPLv2"
+LICENSE = "BSD-3-Clause & GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=782b40c14bad5294672c500501edc103"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m_1.5.0.bb +1 -1
index 619162b..8a1c8cc 100644
@@ -8,7 +8,7 @@ DESCRIPTION = "Trusted Firmware-M"
 HOMEPAGE = "https://git.trustedfirmware.org/trusted-firmware-m.git"
 PROVIDES = "virtual/trusted-firmware-m"
 
-LICENSE = "BSD-3-Clause & Apachev2"
+LICENSE = "BSD-3-Clause & Apache-2.0"
 
 LIC_FILES_CHKSUM = "file://license.rst;md5=07f368487da347f3c7bd0fc3085f3afa \
                     file://../tf-m-tests/license.rst;md5=02d06ffb8d9f099ff4961c0cb0183a18 \
meta-arm/recipes-devtools/fvp/fvp-common.inc +1 -1
index 3070c73..e9978c1 100644
@@ -4,7 +4,7 @@ HOMEPAGE = "https://developer.arm.com/tools-and-software/simulation-models/fixed
 # LICENSE_FLAGS_ACCEPTED if you agree to these terms.
 LICENSE_FLAGS = "Arm-FVP-EULA"
 
-LICENSE = "Proprietary & Apache-2.0 & Python-2.0 & GPL-3.0-with-GCC-exception & Zlib & NCSA & LGPLv2+ & MIT & BSD-3-Clause"
+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"
 
 COMPATIBLE_HOST = '(x86_64|i.86).*-linux'
 FVP_ARCH = "Linux64_GCC-6.4"
meta-arm/recipes-devtools/gator-daemon/gator-daemon_7.7.0.bb +1 -1
index 91b7d64..492d321 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 = "GPLv2 & LGPLv2.1+ & Apache-2.0"
+LICENSE = "GPL-2.0-only & LGPL-2.1-or-later & Apache-2.0"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                     file://libsensors/COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c \
                     file://mxml/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327 \
meta-arm/recipes-kernel/ffa-debugfs/ffa-debugfs-mod_2.1.0.bb +1 -1
index 03ce013..4051c34 100644
@@ -1,7 +1,7 @@
 SUMMARY = "FF-A Debugfs Linux kernel module"
 DESCRIPTION = "This out-of-tree kernel module exposes FF-A operations to user space \
 used for development purposes"
-LICENSE = "GPLv2"
+LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://arm_ffa_user.c;beginline=1;endline=1;md5=fcab174c20ea2e2bc0be64b493708266"
 
 SRC_URI = "git://git.gitlab.arm.com/linux-arm/linux-trusted-services.git;branch=main;protocol=https"
meta-arm/recipes-kernel/linux/linux-arm64-ack.inc +1 -1
index 261e08b..6266c80 100644
@@ -5,7 +5,7 @@
 
 DESCRIPTION = "Linux Android Common Kernel"
 SECTION = "kernel"
-LICENSE = "GPLv2"
+LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 
 require recipes-kernel/linux/linux-yocto.inc
meta-arm/recipes-security/optee/optee-test.inc +1 -1
index 94cf46f..aada243 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 & GPLv2"
+LICENSE = "BSD-2-Clause & GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://${S}/LICENSE.md;md5=daa2bcccc666345ab8940aab1315a4fa"
 
 inherit python3native ptest
meta-gem5/recipes-devtools/gem5/gem5-native.inc +1 -1
index 9c07aad..91a554b 100644
@@ -2,7 +2,7 @@
 
 SUMMARY = "A modular platform for computer-system architecture research"
 HOMEPAGE = "http://gem5.org"
-LICENSE = "BSD-3-Clause & MIT & LGPLv2.1"
+LICENSE = "BSD-3-Clause & MIT & LGPL-2.1-only"
 
 # Gem5 build and run parameter
 
Signature · 1 line
2.35.1
#1 lore raw
Quoted 79 lines · Martin Jansa

* openembedded-core/scripts/contrib/convert-spdx-licenses.py .
...
All files processed with version 0.01

---
 meta-arm-bsp/recipes-bsp/u-boot/u-boot_2020.07.bb         | 2 +-
 meta-arm-bsp/recipes-bsp/u-boot/u-boot_2021.10.bb         | 2 +-
 .../gcc-aarch64-none-elf_10.3-2021.07.bb                  | 2 +-
 .../gcc-arm-none-eabi_10.3-2021.10.bb                     | 2 +-
 .../recipes-devtools/external-arm-toolchain/license.inc   | 8 ++++----
 meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-10.3.inc  | 2 +-
 meta-arm/recipes-bsp/hafnium/hafnium_2.6.bb               | 2 +-
 .../trusted-firmware-m/trusted-firmware-m_1.5.0.bb        | 2 +-
 meta-arm/recipes-devtools/fvp/fvp-common.inc              | 2 +-
 .../recipes-devtools/gator-daemon/gator-daemon_7.7.0.bb   | 2 +-
 .../recipes-kernel/ffa-debugfs/ffa-debugfs-mod_2.1.0.bb   | 2 +-
 meta-arm/recipes-kernel/linux/linux-arm64-ack.inc         | 2 +-
 meta-arm/recipes-security/optee/optee-test.inc            | 2 +-
 meta-gem5/recipes-devtools/gem5/gem5-native.inc           | 2 +-
 14 files changed, 17 insertions(+), 17 deletions(-)
meta-arm-bsp/recipes-bsp/u-boot/u-boot_2020.07.bb +1 -1
index 4dc4a2f..cf6b07f 100644
@@ -6,7 +6,7 @@ application code."
 SECTION = "bootloaders"
 DEPENDS += "flex-native bison-native"
 
-LICENSE = "GPLv2+"
+LICENSE = "GPL-2.0-or-later"
 LIC_FILES_CHKSUM = "file://Licenses/README;md5=30503fd321432fc713238f582193b78e"
 PE = "1"
 
meta-arm-bsp/recipes-bsp/u-boot/u-boot_2021.10.bb +1 -1
index 2d3e95a..d117a88 100644
@@ -6,7 +6,7 @@ application code."
 SECTION = "bootloaders"
 DEPENDS += "flex-native bison-native"
 
-LICENSE = "GPLv2+"
+LICENSE = "GPL-2.0-or-later"
 LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025"
 PE = "1"
 
meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-aarch64-none-elf_10.3-2021.07.bb +1 -1
index c1758a3..02b5b43 100644
@@ -6,7 +6,7 @@ require arm-binary-toolchain.inc
 COMPATIBLE_HOST = "(x86_64|aarch64).*-linux"
 
 SUMMARY = "Baremetal GCC for Aarch64 processors"
-LICENSE = "GPL-3.0-with-GCC-exception & GPLv3"
+LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only"
 
 LIC_FILES_CHKSUM = "${@d.getVar(d.expand("LIC_FILES_CHKSUM_${HOST_ARCH}"))}"
 LIC_FILES_CHKSUM:aarch64 = "file://share/doc/gcc/Copying.html;md5=d06ace534ed0851debcb7140c5b5116e"
meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_10.3-2021.10.bb +1 -1
index 4100372..ad7e816 100644
@@ -6,7 +6,7 @@ require arm-binary-toolchain.inc
 COMPATIBLE_HOST = "(x86_64|aarch64).*-linux"
 
 SUMMARY = "Baremetal GCC for ARM-R and ARM-M processors"
-LICENSE = "GPL-3.0-with-GCC-exception & GPLv3"
+LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only"
 
 LIC_FILES_CHKSUM = "file://share/doc/gcc-arm-none-eabi/license.txt;md5=c18349634b740b7b95f2c2159af888f5"
 
meta-arm-toolchain/recipes-devtools/external-arm-toolchain/license.inc +0 -0
index 67daa41..10f2542 100644

meta-arm-toolchain/recipes-devtools/external-arm-toolchain/license.inc line 4

Quoted 5 lines
meta-arm-toolchain/recipes-devtools/external-arm-toolchain/license.inc +1 -1
@@ -1,4 +1,4 @@
-LICENSE = "GPL-3.0-with-GCC-exception & GPLv3 & GPLv2 & LGPLv3 & LGPLv2.1 & LGPLv2"
+LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only & GPL-2.0-only & LGPL-3.0-only & LGPL-2.1-only & LGPL-2.0-only"
 
 EAT_BFD_LICENSE = "GPL-3.0"
 EAT_GCC_LICENSE = "GPL-3.0-with-GCC-exception & GPLv3"

You've missed an entire section here with per-package licenses:

EAT_BFD_LICENSE = "GPL-3.0"
EAT_GCC_LICENSE = "GPL-3.0-with-GCC-exception & GPLv3" EAT_GDB_LICENSE = "GPL-3.0"
EAT_LIBC_LICENSE = "GPLv2 & LGPLv2.1" EAT_RLE_LICENSE = "GPL-3.0-with-GCC-exception"

At least EAT_GCC_LICENSE and EAT_LIBC_LICENSE need to be updated too.

Quoted 131 lines
meta-arm-toolchain/recipes-devtools/external-arm-toolchain/license.inc +3 -3
@@ -73,7 +73,7 @@ LICENSE:libubsan-dev = "${EAT_GCC_LICENSE}"
 LICENSE:libubsan = "${EAT_GCC_LICENSE}"
 LICENSE:libubsan-staticdev = "${EAT_GCC_LICENSE}"
 
-LICENSE:linux-libc-headers-dev = "GPLv2"
-LICENSE:linux-libc-headers = "GPLv2"
+LICENSE:linux-libc-headers-dev = "GPL-2.0-only"
+LICENSE:linux-libc-headers = "GPL-2.0-only"
 
-LICENSE:gdbserver = "GPLv2 & GPLv3 & LGPLv2 & LGPLv3"
+LICENSE:gdbserver = "GPL-2.0-only & GPL-3.0-only & LGPL-2.0-only & LGPL-3.0-only"
meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-10.3.inc +1 -1
index 19eb31b..20e6d3e 100644
@@ -18,7 +18,7 @@ FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-arm-${ARM_GCC_VERSION}:${FILE_DIRNAME}/g
 DEPENDS =+ "mpfr gmp libmpc zlib flex-native"
 NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native flex-native"
 
-LICENSE = "GPL-3.0-with-GCC-exception & GPLv3"
+LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only"
 
 LIC_FILES_CHKSUM = "\
     file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
meta-arm/recipes-bsp/hafnium/hafnium_2.6.bb +1 -1
index 0452272..96e455f 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"
 
-LICENSE = "BSD-3-Clause & GPLv2"
+LICENSE = "BSD-3-Clause & GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=782b40c14bad5294672c500501edc103"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m_1.5.0.bb +1 -1
index 619162b..8a1c8cc 100644
@@ -8,7 +8,7 @@ DESCRIPTION = "Trusted Firmware-M"
 HOMEPAGE = "https://git.trustedfirmware.org/trusted-firmware-m.git"
 PROVIDES = "virtual/trusted-firmware-m"
 
-LICENSE = "BSD-3-Clause & Apachev2"
+LICENSE = "BSD-3-Clause & Apache-2.0"
 
 LIC_FILES_CHKSUM = "file://license.rst;md5=07f368487da347f3c7bd0fc3085f3afa \
                     file://../tf-m-tests/license.rst;md5=02d06ffb8d9f099ff4961c0cb0183a18 \
meta-arm/recipes-devtools/fvp/fvp-common.inc +1 -1
index 3070c73..e9978c1 100644
@@ -4,7 +4,7 @@ HOMEPAGE = "https://developer.arm.com/tools-and-software/simulation-models/fixed
 # LICENSE_FLAGS_ACCEPTED if you agree to these terms.
 LICENSE_FLAGS = "Arm-FVP-EULA"
 
-LICENSE = "Proprietary & Apache-2.0 & Python-2.0 & GPL-3.0-with-GCC-exception & Zlib & NCSA & LGPLv2+ & MIT & BSD-3-Clause"
+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"
 
 COMPATIBLE_HOST = '(x86_64|i.86).*-linux'
 FVP_ARCH = "Linux64_GCC-6.4"
meta-arm/recipes-devtools/gator-daemon/gator-daemon_7.7.0.bb +1 -1
index 91b7d64..492d321 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 = "GPLv2 & LGPLv2.1+ & Apache-2.0"
+LICENSE = "GPL-2.0-only & LGPL-2.1-or-later & Apache-2.0"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                     file://libsensors/COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c \
                     file://mxml/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327 \
meta-arm/recipes-kernel/ffa-debugfs/ffa-debugfs-mod_2.1.0.bb +1 -1
index 03ce013..4051c34 100644
@@ -1,7 +1,7 @@
 SUMMARY = "FF-A Debugfs Linux kernel module"
 DESCRIPTION = "This out-of-tree kernel module exposes FF-A operations to user space \
 used for development purposes"
-LICENSE = "GPLv2"
+LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://arm_ffa_user.c;beginline=1;endline=1;md5=fcab174c20ea2e2bc0be64b493708266"
 
 SRC_URI = "git://git.gitlab.arm.com/linux-arm/linux-trusted-services.git;branch=main;protocol=https"
meta-arm/recipes-kernel/linux/linux-arm64-ack.inc +1 -1
index 261e08b..6266c80 100644
@@ -5,7 +5,7 @@
 
 DESCRIPTION = "Linux Android Common Kernel"
 SECTION = "kernel"
-LICENSE = "GPLv2"
+LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 
 require recipes-kernel/linux/linux-yocto.inc
meta-arm/recipes-security/optee/optee-test.inc +1 -1
index 94cf46f..aada243 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 & GPLv2"
+LICENSE = "BSD-2-Clause & GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://${S}/LICENSE.md;md5=daa2bcccc666345ab8940aab1315a4fa"
 
 inherit python3native ptest
meta-gem5/recipes-devtools/gem5/gem5-native.inc +1 -1
index 9c07aad..91a554b 100644
@@ -2,7 +2,7 @@
 
 SUMMARY = "A modular platform for computer-system architecture research"
 HOMEPAGE = "http://gem5.org"
-LICENSE = "BSD-3-Clause & MIT & LGPLv2.1"
+LICENSE = "BSD-3-Clause & MIT & LGPL-2.1-only"
 
 # Gem5 build and run parameter
 
Signature · 1 line
2.35.1
Signature · 4 lines
Regards,
Denys Dmytriyenko <[email protected]>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186  6D76 4209 0272 9A92 C964
#2 lore raw

I was just running the script, this version was already merged by Ross, please send a patch for the rest which isn't covered by script.

Quoted 292 lines · Denys Dmytriyenko
Quoted 22 lines · Martin Jansa

* openembedded-core/scripts/contrib/convert-spdx-licenses.py .
...
All files processed with version 0.01

---
 meta-arm-bsp/recipes-bsp/u-boot/u-boot_2020.07.bb         | 2 +-
 meta-arm-bsp/recipes-bsp/u-boot/u-boot_2021.10.bb         | 2 +-
 .../gcc-aarch64-none-elf_10.3-2021.07.bb                  | 2 +-
 .../gcc-arm-none-eabi_10.3-2021.10.bb                     | 2 +-
 .../recipes-devtools/external-arm-toolchain/license.inc   | 8 ++++----
 meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-10.3.inc  | 2 +-
 meta-arm/recipes-bsp/hafnium/hafnium_2.6.bb               | 2 +-
 .../trusted-firmware-m/trusted-firmware-m_1.5.0.bb        | 2 +-
 meta-arm/recipes-devtools/fvp/fvp-common.inc              | 2 +-
 .../recipes-devtools/gator-daemon/gator-daemon_7.7.0.bb   | 2 +-
 .../recipes-kernel/ffa-debugfs/ffa-debugfs-mod_2.1.0.bb   | 2 +-
 meta-arm/recipes-kernel/linux/linux-arm64-ack.inc         | 2 +-
 meta-arm/recipes-security/optee/optee-test.inc            | 2 +-
 meta-gem5/recipes-devtools/gem5/gem5-native.inc           | 2 +-
 14 files changed, 17 insertions(+), 17 deletions(-)

Review

Quoted 1 line
(quoted diff) +0 -0

b/meta-arm-bsp/recipes-bsp/u-boot/u-boot_2020.07.bb

meta-arm-bsp/recipes-bsp/u-boot/u-boot_2020.07.bb application code." · line 10

Quoted 10 lines

index 4dc4a2f..cf6b07f 100644

meta-arm-bsp/recipes-bsp/u-boot/u-boot_2020.07.bb +1 -1
@@ -6,7 +6,7 @@ application code."
 SECTION = "bootloaders"
 DEPENDS += "flex-native bison-native"
 
-LICENSE = "GPLv2+"
+LICENSE = "GPL-2.0-or-later"
 LIC_FILES_CHKSUM =

"file://Licenses/README;md5=30503fd321432fc713238f582193b78e"

Review

Quoted 3 lines
meta-arm-bsp/recipes-bsp/u-boot/u-boot_2020.07.bb +0 -0
 PE = "1"
 
(quoted diff) +0 -0

b/meta-arm-bsp/recipes-bsp/u-boot/u-boot_2021.10.bb

meta-arm-bsp/recipes-bsp/u-boot/u-boot_2021.10.bb application code." · line 10

Quoted 10 lines

index 2d3e95a..d117a88 100644

meta-arm-bsp/recipes-bsp/u-boot/u-boot_2021.10.bb +1 -1
@@ -6,7 +6,7 @@ application code."
 SECTION = "bootloaders"
 DEPENDS += "flex-native bison-native"
 
-LICENSE = "GPLv2+"
+LICENSE = "GPL-2.0-or-later"
 LIC_FILES_CHKSUM =

"file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025"

Review

Quoted 3 lines
meta-arm-bsp/recipes-bsp/u-boot/u-boot_2021.10.bb +0 -0
 PE = "1"
 
(quoted diff) +0 -0

gcc-aarch64-none-elf_10.3-2021.07.bb b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/ gcc-aarch64-none-elf_10.3-2021.07.bb

Quoted 2 lines

index c1758a3..02b5b43 100644
--- a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/

gcc-aarch64-none-elf_10.3-2021.07.bb

Quoted 1 line

+++ b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/

gcc-aarch64-none-elf_10.3-2021.07.bb

meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-aarch64-none-elf_10.3-2021.07.bb require arm-binary-toolchain.inc · line 11

Quoted 8 lines
meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-aarch64-none-elf_10.3-2021.07.bb +1 -1
@@ -6,7 +6,7 @@ require arm-binary-toolchain.inc
 COMPATIBLE_HOST = "(x86_64|aarch64).*-linux"
 
 SUMMARY = "Baremetal GCC for Aarch64 processors"
-LICENSE = "GPL-3.0-with-GCC-exception & GPLv3"
+LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only"
 
 LIC_FILES_CHKSUM =

"${@d.getVar(d.expand("LIC_FILES_CHKSUM_${HOST_ARCH}"))}"

Review require arm-binary-toolchain.inc · line 12

Quoted 1 line
(quoted diff) +0 -0
 LIC_FILES_CHKSUM:aarch64 =

"file://share/doc/gcc/Copying.html;md5=d06ace534ed0851debcb7140c5b5116e"

Review

Quoted 1 line
(quoted diff) +0 -0

gcc-arm-none-eabi_10.3-2021.10.bb b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/ gcc-arm-none-eabi_10.3-2021.10.bb

Quoted 2 lines

index 4100372..ad7e816 100644
--- a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/

gcc-arm-none-eabi_10.3-2021.10.bb

Quoted 1 line

+++ b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/

gcc-arm-none-eabi_10.3-2021.10.bb

meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_10.3-2021.10.bb require arm-binary-toolchain.inc · line 11

Quoted 8 lines
meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_10.3-2021.10.bb +1 -1
@@ -6,7 +6,7 @@ require arm-binary-toolchain.inc
 COMPATIBLE_HOST = "(x86_64|aarch64).*-linux"
 
 SUMMARY = "Baremetal GCC for ARM-R and ARM-M processors"
-LICENSE = "GPL-3.0-with-GCC-exception & GPLv3"
+LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only"
 
 LIC_FILES_CHKSUM =

"file://share/doc/gcc-arm-none-eabi/license.txt;md5=c18349634b740b7b95f2c2159af888f5"

Quoted 2 lines

diff --git

a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/license.inc b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/license.inc

Quoted 2 lines

index 67daa41..10f2542 100644
---

a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/license.inc

Quoted 1 line

+++

b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/license.inc

Review line 1

Quoted 2 lines
(quoted diff) +0 -1
@@ -1,4 +1,4 @@
-LICENSE = "GPL-3.0-with-GCC-exception & GPLv3 & GPLv2 & LGPLv3 &

LGPLv2.1 & LGPLv2"

Review line 1

Quoted 1 line
(quoted diff) +1 -0
+LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only & GPL-2.0-only &

LGPL-3.0-only & LGPL-2.1-only & LGPL-2.0-only"

meta-arm-toolchain/recipes-devtools/external-arm-toolchain/license.inc line 4

Quoted 3 lines
meta-arm-toolchain/recipes-devtools/external-arm-toolchain/license.inc +0 -0
 EAT_BFD_LICENSE = "GPL-3.0"
 EAT_GCC_LICENSE = "GPL-3.0-with-GCC-exception & GPLv3"

You've missed an entire section here with per-package licenses:

EAT_BFD_LICENSE = "GPL-3.0"
EAT_GCC_LICENSE = "GPL-3.0-with-GCC-exception & GPLv3" EAT_GDB_LICENSE = "GPL-3.0"
EAT_LIBC_LICENSE = "GPLv2 & LGPLv2.1" EAT_RLE_LICENSE = "GPL-3.0-with-GCC-exception"

At least EAT_GCC_LICENSE and EAT_LIBC_LICENSE need to be updated too.

meta-arm-toolchain/recipes-devtools/external-arm-toolchain/license.inc LICENSE:libubsan-dev = "${EAT_GCC_LICENSE}" · line 79

Quoted 11 lines
meta-arm-toolchain/recipes-devtools/external-arm-toolchain/license.inc +3 -3
@@ -73,7 +73,7 @@ LICENSE:libubsan-dev = "${EAT_GCC_LICENSE}"
 LICENSE:libubsan = "${EAT_GCC_LICENSE}"
 LICENSE:libubsan-staticdev = "${EAT_GCC_LICENSE}"
 
-LICENSE:linux-libc-headers-dev = "GPLv2"
-LICENSE:linux-libc-headers = "GPLv2"
+LICENSE:linux-libc-headers-dev = "GPL-2.0-only"
+LICENSE:linux-libc-headers = "GPL-2.0-only"
 
-LICENSE:gdbserver = "GPLv2 & GPLv3 & LGPLv2 & LGPLv3"
+LICENSE:gdbserver = "GPL-2.0-only & GPL-3.0-only & LGPL-2.0-only &

LGPL-3.0-only"

Review

Quoted 1 line
(quoted diff) +0 -0

b/meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-10.3.inc

meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-10.3.inc FILESEXTRAPATHS =.

Quoted 4 lines

index 19eb31b..20e6d3e 100644

meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-10.3.inc +0 -0
@@ -18,7 +18,7 @@ FILESEXTRAPATHS =.

"${FILE_DIRNAME}/gcc-arm-${ARM_GCC_VERSION}:${FILE_DIRNAME}/g

meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-10.3.inc FILESEXTRAPATHS =. · line 19

Quoted 2 lines
meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-10.3.inc +0 -0
 DEPENDS =+ "mpfr gmp libmpc zlib flex-native"
 NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native

flex-native"

Review

Quoted 7 lines
meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-10.3.inc +1 -1
-LICENSE = "GPL-3.0-with-GCC-exception & GPLv3"
+LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only"
 
 LIC_FILES_CHKSUM = "\
     file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
(quoted diff) +0 -0

b/meta-arm/recipes-bsp/hafnium/hafnium_2.6.bb

meta-arm/recipes-bsp/hafnium/hafnium_2.6.bb SUMMARY = "Hafnium" · line 2

Quoted 5 lines

index 0452272..96e455f 100644

meta-arm/recipes-bsp/hafnium/hafnium_2.6.bb +0 -0
@@ -2,7 +2,7 @@ SUMMARY = "Hafnium"
 DESCRIPTION = "A reference Secure Partition Manager (SPM) for systems

that implement the Armv8.4-A Secure-EL2 extension"

meta-arm/recipes-bsp/hafnium/hafnium_2.6.bb SUMMARY = "Hafnium" · line 3

Quoted 1 line
meta-arm/recipes-bsp/hafnium/hafnium_2.6.bb +0 -0
 DEPENDS = "gn-native ninja-native bison-native bc-native dtc-native

openssl-native"

Review

Quoted 7 lines
meta-arm/recipes-bsp/hafnium/hafnium_2.6.bb +1 -1
-LICENSE = "BSD-3-Clause & GPLv2"
+LICENSE = "BSD-3-Clause & GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=782b40c14bad5294672c500501edc103"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
(quoted diff) +0 -0

trusted-firmware-m_1.5.0.bb b/meta-arm/recipes-bsp/trusted-firmware-m/ trusted-firmware-m_1.5.0.bb

Quoted 2 lines

index 619162b..8a1c8cc 100644
--- a/meta-arm/recipes-bsp/trusted-firmware-m/

trusted-firmware-m_1.5.0.bb

Quoted 1 line

+++ b/meta-arm/recipes-bsp/trusted-firmware-m/

trusted-firmware-m_1.5.0.bb

meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m_1.5.0.bb DESCRIPTION = "Trusted Firmware-M" · line 13

Quoted 8 lines
meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m_1.5.0.bb +1 -1
@@ -8,7 +8,7 @@ DESCRIPTION = "Trusted Firmware-M"
 HOMEPAGE = "https://git.trustedfirmware.org/trusted-firmware-m.git"
 PROVIDES = "virtual/trusted-firmware-m"
 
-LICENSE = "BSD-3-Clause & Apachev2"
+LICENSE = "BSD-3-Clause & Apache-2.0"
 
 LIC_FILES_CHKSUM =

"file://license.rst;md5=07f368487da347f3c7bd0fc3085f3afa \

Quoted 1 line

file://../tf-m-tests/license.rst;md5=02d06ffb8d9f099ff4961c0cb0183a18 \

Review

Quoted 1 line
(quoted diff) +0 -0

b/meta-arm/recipes-devtools/fvp/fvp-common.inc

meta-arm/recipes-devtools/fvp/fvp-common.inc HOMEPAGE = "

Quoted 4 lines

index 3070c73..e9978c1 100644

meta-arm/recipes-devtools/fvp/fvp-common.inc +0 -0
@@ -4,7 +4,7 @@ HOMEPAGE = "

https://developer.arm.com/tools-and-software/simulation-models/fixed

meta-arm/recipes-devtools/fvp/fvp-common.inc HOMEPAGE = "https://developer.arm.com/tools-and-software/simulation-models/fixed

Quoted 4 lines
meta-arm/recipes-devtools/fvp/fvp-common.inc +0 -1
 # LICENSE_FLAGS_ACCEPTED if you agree to these terms.
 LICENSE_FLAGS = "Arm-FVP-EULA"
 
-LICENSE = "Proprietary & Apache-2.0 & Python-2.0 &

GPL-3.0-with-GCC-exception & Zlib & NCSA & LGPLv2+ & MIT & BSD-3-Clause"

meta-arm/recipes-devtools/fvp/fvp-common.inc HOMEPAGE = " · line 7

Quoted 1 line
meta-arm/recipes-devtools/fvp/fvp-common.inc +1 -0
+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"

Review

Quoted 4 lines
meta-arm/recipes-devtools/fvp/fvp-common.inc +0 -0
 COMPATIBLE_HOST = '(x86_64|i.86).*-linux'
 FVP_ARCH = "Linux64_GCC-6.4"
(quoted diff) +0 -0

gator-daemon_7.7.0.bb b/meta-arm/recipes-devtools/gator-daemon/ gator-daemon_7.7.0.bb

meta-arm/recipes-devtools/gator-daemon/gator-daemon_7.7.0.bb HOMEPAGE = "https://github.com/ARM-software/gator" · line 12

Quoted 10 lines

index 91b7d64..492d321 100644

meta-arm/recipes-devtools/gator-daemon/gator-daemon_7.7.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 = "GPLv2 & LGPLv2.1+ & Apache-2.0"
+LICENSE = "GPL-2.0-only & LGPL-2.1-or-later & Apache-2.0"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263

\

Quoted 1 line

file://libsensors/COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c \

Quoted 1 line

file://mxml/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327 \

Review

Quoted 1 line
(quoted diff) +0 -0

ffa-debugfs-mod_2.1.0.bb b/meta-arm/recipes-kernel/ffa-debugfs/ ffa-debugfs-mod_2.1.0.bb

meta-arm/recipes-kernel/ffa-debugfs/ffa-debugfs-mod_2.1.0.bb line 2

Quoted 6 lines

index 03ce013..4051c34 100644

meta-arm/recipes-kernel/ffa-debugfs/ffa-debugfs-mod_2.1.0.bb +0 -0
@@ -1,7 +1,7 @@
 SUMMARY = "FF-A Debugfs Linux kernel module"
 DESCRIPTION = "This out-of-tree kernel module exposes FF-A operations

to user space \

meta-arm/recipes-kernel/ffa-debugfs/ffa-debugfs-mod_2.1.0.bb

Quoted 4 lines
meta-arm/recipes-kernel/ffa-debugfs/ffa-debugfs-mod_2.1.0.bb +1 -1
 used for development purposes"
-LICENSE = "GPLv2"
+LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM =

"file://arm_ffa_user.c;beginline=1;endline=1;md5=fcab174c20ea2e2bc0be64b493708266"

meta-arm/recipes-kernel/ffa-debugfs/ffa-debugfs-mod_2.1.0.bb line 6

Quoted 2 lines
meta-arm/recipes-kernel/ffa-debugfs/ffa-debugfs-mod_2.1.0.bb +0 -0
 SRC_URI = "git://

git.gitlab.arm.com/linux-arm/linux-trusted-services.git;branch=main;protocol=https "

Review

Quoted 1 line
(quoted diff) +0 -0

b/meta-arm/recipes-kernel/linux/linux-arm64-ack.inc

meta-arm/recipes-kernel/linux/linux-arm64-ack.inc line 9

Quoted 10 lines

index 261e08b..6266c80 100644

meta-arm/recipes-kernel/linux/linux-arm64-ack.inc +1 -1
@@ -5,7 +5,7 @@
 
 DESCRIPTION = "Linux Android Common Kernel"
 SECTION = "kernel"
-LICENSE = "GPLv2"
+LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM =

"file://${S}/COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"

Review

Quoted 3 lines
meta-arm/recipes-kernel/linux/linux-arm64-ack.inc +0 -0
 require recipes-kernel/linux/linux-yocto.inc
(quoted diff) +0 -0

b/meta-arm/recipes-security/optee/optee-test.inc

meta-arm/recipes-security/optee/optee-test.inc SUMMARY = "OP-TEE sanity testsuite" · line 6

Quoted 10 lines

index 94cf46f..aada243 100644

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 & GPLv2"
+LICENSE = "BSD-2-Clause & GPL-2.0-only"
 LIC_FILES_CHKSUM =

"file://${S}/LICENSE.md;md5=daa2bcccc666345ab8940aab1315a4fa"

Review

Quoted 3 lines
meta-arm/recipes-security/optee/optee-test.inc +0 -0
 inherit python3native ptest
(quoted diff) +0 -0

b/meta-gem5/recipes-devtools/gem5/gem5-native.inc

Quoted 13 lines

index 9c07aad..91a554b 100644

meta-gem5/recipes-devtools/gem5/gem5-native.inc +1 -2
@@ -2,7 +2,7 @@
 
 SUMMARY = "A modular platform for computer-system architecture research"
 HOMEPAGE = "http://gem5.org"
-LICENSE = "BSD-3-Clause & MIT & LGPLv2.1"
+LICENSE = "BSD-3-Clause & MIT & LGPL-2.1-only"
 
 # Gem5 build and run parameter
 
--
Quoted 2 lines

2.35.1

--
Regards,
Denys Dmytriyenko <[email protected]>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186 6D76 4209 0272 9A92 C964