diff mbox series

[v2,24/25] oeqa: selftest: bbtest: Fix license exception

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

Commit Message

Joshua Watt July 15, 2026, 4:45 p.m. UTC
Adds an exception to GPL-3.0-or-later licenses to allow them if they
have the GCC-exception-3.1. This is required because the license uses a
WITH expression, instead of being a bespoke license that combines the
license and exception.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
---
 meta/lib/oeqa/selftest/cases/bbtests.py | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta/lib/oeqa/selftest/cases/bbtests.py b/meta/lib/oeqa/selftest/cases/bbtests.py
index 51934ef70d..860f499269 100644
--- a/meta/lib/oeqa/selftest/cases/bbtests.py
+++ b/meta/lib/oeqa/selftest/cases/bbtests.py
@@ -233,6 +233,7 @@  INHERIT:remove = \"report-error\"
 
     def test_non_gplv3(self):
         self.write_config('''INCOMPATIBLE_LICENSE = "GPL-3.0-or-later"
+INCOMPATIBLE_LICENSE_EXCEPTIONS = "GCC-exception-3.1"
 OVERRIDES .= ":gplv3test"
 require conf/distro/include/no-gplv3.inc
 ''')