mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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 <peter.kjellerstedt@axis.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f4549231b2
commit
c3b7982d20
@@ -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}``.
|
||||
|
||||
|
||||
@@ -231,17 +231,6 @@ system and gives an overview of their function and contents.
|
||||
must set this variable in your recipe. The
|
||||
:ref:`syslinux <ref-classes-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
|
||||
|
||||
Reference in New Issue
Block a user