diff mbox series

[06/22] meta-selftest: Add NO_GENERIC_LICENSE

Message ID 20260714190405.3328796-7-JPEWhacker@gmail.com
State New
Headers show
Series Rework LICENSE to be SPDX License Expressions | expand

Commit Message

Joshua Watt July 14, 2026, 6:31 p.m. UTC
Adds NO_GENERIC_LICENSE for a non-SPDX license identifier, since it is
now enforced that licenses are either SPDX license identifiers, have a
matching generic license, or use NO_GENERIC_LICENSE

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
---
 .../recipes-test/license/incompatible-nonspdx-license.bb         | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta-selftest/recipes-test/license/incompatible-nonspdx-license.bb b/meta-selftest/recipes-test/license/incompatible-nonspdx-license.bb
index 142d73158e..128f313e1f 100644
--- a/meta-selftest/recipes-test/license/incompatible-nonspdx-license.bb
+++ b/meta-selftest/recipes-test/license/incompatible-nonspdx-license.bb
@@ -1,5 +1,6 @@ 
 SUMMARY = "Recipe with a non-SPDX license"
 DESCRIPTION = "Is licensed with a non-SPDX license to be used for testing"
 LICENSE = "FooLicense"
+NO_GENERIC_LICENSE[FooLicense] = "LICENSE"
 
 EXCLUDE_FROM_WORLD = "1"