mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-07-22 17:57:05 +00:00
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")
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
@@ -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)}"
|
||||
|
||||
@@ -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)}"
|
||||
|
||||
+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"
|
||||
|
||||
+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"
|
||||
|
||||
@@ -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}"
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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)}"
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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:"
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user