From c3b7982d2086e5b4c049534c6134979e5242796f Mon Sep 17 00:00:00 2001 From: Peter Kjellerstedt Date: Wed, 23 Mar 2022 17:09:11 +0100 Subject: ref-manual: Remove references to AVAILABLE_LICENSES The AVAILABLE_LICENSES variable has been removed from OE-Core. (From yocto-docs rev: dd687b10e1a21222e8dcc3be29635fd3200a205b) Signed-off-by: Peter Kjellerstedt Reviewed-by: Michael Opdenacker Signed-off-by: Richard Purdie --- documentation/migration-guides/migration-3.1.rst | 2 +- documentation/ref-manual/variables.rst | 26 ------------------------ 2 files changed, 1 insertion(+), 27 deletions(-) (limited to 'documentation') diff --git a/documentation/migration-guides/migration-3.1.rst b/documentation/migration-guides/migration-3.1.rst index cb0296717e..e3fdbbe425 100644 --- a/documentation/migration-guides/migration-3.1.rst +++ b/documentation/migration-guides/migration-3.1.rst @@ -260,7 +260,7 @@ Miscellaneous changes --------------------- - The undocumented ``SRC_DISTRIBUTE_LICENSES`` variable has now been - removed in favour of a new :term:`AVAILABLE_LICENSES` variable which is + removed in favour of a new ``AVAILABLE_LICENSES`` variable which is dynamically set based upon license files found in ``${COMMON_LICENSE_DIR}`` and ``${LICENSE_PATH}``. diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 781cd19765..f9fd551478 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -231,17 +231,6 @@ system and gives an overview of their function and contents. must set this variable in your recipe. The :ref:`syslinux ` class checks this variable. - :term:`AVAILABLE_LICENSES` - List of licenses found in the directories specified by - :term:`COMMON_LICENSE_DIR` and - :term:`LICENSE_PATH`. - - .. note:: - - It is assumed that all changes to :term:`COMMON_LICENSE_DIR` and - :term:`LICENSE_PATH` have been done before :term:`AVAILABLE_LICENSES` - is defined (in :ref:`ref-classes-license`). - :term:`AVAILTUNES` The list of defined CPU and Application Binary Interface (ABI) tunings (i.e. "tunes") available for use by the OpenEmbedded build @@ -3508,21 +3497,6 @@ 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. - .. note:: - - It is possible to define a list of licenses that are allowed to be - used instead of the licenses that are excluded. To do this, define - a variable ``COMPATIBLE_LICENSES`` with the names of the licenses - that are allowed. Then define :term:`INCOMPATIBLE_LICENSE` as:: - - INCOMPATIBLE_LICENSE = "${@' '.join(sorted(set(d.getVar('AVAILABLE_LICENSES').split()) - set(d.getVar('COMPATIBLE_LICENSES').split())))}" - - - This will result in :term:`INCOMPATIBLE_LICENSE` containing the names of - all licenses from :term:`AVAILABLE_LICENSES` except the ones specified - in ``COMPATIBLE_LICENSES``, thus only allowing the latter licenses to - be used. - :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 -- cgit v1.2.3-54-g00ecf