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:
Ross Burton authored and Jon Mason committed 2026-07-21 10:08:22 -04:00
1 parent 28606c7215
commit dc8a847b6b
22 files changed
+22 -22

No files matched your search

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