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 <[email protected]>
---
 meta/lib/oeqa/selftest/cases/bbtests.py | 1 +
 1 file changed, 1 insertion(+)

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
 ''')
-- 
2.54.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#241015): 
https://lists.openembedded.org/g/openembedded-core/message/241015
Mute This Topic: https://lists.openembedded.org/mt/120285173/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to