Skip to contentSkip to conversation

ref-manual: Add documentation for INCOMPATIBLE_LICENSE_EXCEPTIONS

PATCH In review Peter Kjellerstedt 2 participants 2 messages Jun 25, 2022 – Jun 27, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ref-manual: Add documentation for INCOMPATIBLE_LICENSE_EXCEPTIONS

---
 documentation/migration-guides/migration-4.0.rst | 2 +-
 documentation/ref-manual/variables.rst           | 8 ++++++++
 2 files changed, 9 insertions(+), 1 deletion(-)
documentation/migration-guides/migration-4.0.rst +1 -1
index a8e6b4c331..79e53f89ac 100644
@@ -45,7 +45,7 @@ The following variables have changed their names:
 - ``SSTATE_DUPWHITELIST`` became ``SSTATE_ALLOW_OVERLAP_FILES``
 - ``SYSROOT_DIRS_BLACKLIST`` became :term:`SYSROOT_DIRS_IGNORE`
 - ``UNKNOWN_CONFIGURE_WHITELIST`` became :term:`UNKNOWN_CONFIGURE_OPT_IGNORE`
-- ``WHITELIST_<license>`` became ``INCOMPATIBLE_LICENSE_EXCEPTIONS``
+- ``WHITELIST_<license>`` became :term:`INCOMPATIBLE_LICENSE_EXCEPTIONS`
 
 In addition, ``BB_STAMP_WHITELIST``, ``BB_STAMP_POLICY``, ``INHERIT_BLACKLIST``,
 ``TUNEABI``, ``TUNEABI_WHITELIST``, and ``TUNEABI_OVERRIDE`` have been removed.
documentation/ref-manual/variables.rst +8 -0
index 28267101d8..e471d4fe12 100644
@@ -3544,6 +3544,14 @@ system and gives an overview of their function and contents.
          remove dependencies on or provide alternatives to components that
          are required to produce a functional system image.
 
+   :term:`INCOMPATIBLE_LICENSE_EXCEPTIONS`
+      Specifies a space-separated list of package and license pairs that
+      are allowed to be used even if the license is specified in
+      :term:`INCOMPATIBLE_LICENSE`. The package and license pairs are
+      separated using a colon. Example::
+
+         INCOMPATIBLE_LICENSE_EXCEPTIONS = "gdbserver:GPL-3.0-only gdbserver:LGPL-3.0-only"
+
    :term:`INHERIT`
       Causes the named class or classes to be inherited globally. Anonymous
       functions in the class or classes are not executed for the base
Reviewed-by on v1 1/1
#1 lore raw

Hi Peter,

Quoted 28 lines · Peter Kjellerstedt
---
  documentation/migration-guides/migration-4.0.rst | 2 +-
  documentation/ref-manual/variables.rst           | 8 ++++++++
  2 files changed, 9 insertions(+), 1 deletion(-)
documentation/migration-guides/migration-4.0.rst +1 -1
index a8e6b4c331..79e53f89ac 100644
@@ -45,7 +45,7 @@ The following variables have changed their names:
  - ``SSTATE_DUPWHITELIST`` became ``SSTATE_ALLOW_OVERLAP_FILES``
  - ``SYSROOT_DIRS_BLACKLIST`` became :term:`SYSROOT_DIRS_IGNORE`
  - ``UNKNOWN_CONFIGURE_WHITELIST`` became :term:`UNKNOWN_CONFIGURE_OPT_IGNORE`
-- ``WHITELIST_<license>`` became ``INCOMPATIBLE_LICENSE_EXCEPTIONS``
+- ``WHITELIST_<license>`` became :term:`INCOMPATIBLE_LICENSE_EXCEPTIONS`
 
  In addition, ``BB_STAMP_WHITELIST``, ``BB_STAMP_POLICY``, ``INHERIT_BLACKLIST``,
  ``TUNEABI``, ``TUNEABI_WHITELIST``, and ``TUNEABI_OVERRIDE`` have been removed.
documentation/ref-manual/variables.rst +1 -0
index 28267101d8..e471d4fe12 100644
@@ -3544,6 +3544,14 @@ system and gives an overview of their function and contents.
           remove dependencies on or provide alternatives to components that
           are required to produce a functional system image.
 
+   :term:`INCOMPATIBLE_LICENSE_EXCEPTIONS`

documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 3557

Quoted 10 lines
documentation/ref-manual/variables.rst +7 -0
+      Specifies a space-separated list of package and license pairs that
+      are allowed to be used even if the license is specified in
+      :term:`INCOMPATIBLE_LICENSE`. The package and license pairs are
+      separated using a colon. Example::
+
+         INCOMPATIBLE_LICENSE_EXCEPTIONS = "gdbserver:GPL-3.0-only gdbserver:LGPL-3.0-only"
+
     :term:`INHERIT`
        Causes the named class or classes to be inherited globally. Anonymous
        functions in the class or classes are not executed for the base

Many thanks for the patch. Good catch!

... and merged into master-next for inclusion in master soon.

Thanks again!
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com