summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual/common-tasks.rst
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/dev-manual/common-tasks.rst')
-rw-r--r--documentation/dev-manual/common-tasks.rst20
1 files changed, 20 insertions, 0 deletions
diff --git a/documentation/dev-manual/common-tasks.rst b/documentation/dev-manual/common-tasks.rst
index 8ab45193b8..4683b1c045 100644
--- a/documentation/dev-manual/common-tasks.rst
+++ b/documentation/dev-manual/common-tasks.rst
@@ -11158,6 +11158,26 @@ this function, you have to follow the following steps:
11158For more usage information refer to :yocto_git:`the meta-spdxscanner repository 11158For more usage information refer to :yocto_git:`the meta-spdxscanner repository
11159</meta-spdxscanner/>`. 11159</meta-spdxscanner/>`.
11160 11160
11161Compliance Limitations with Executables Built from Static Libraries
11162~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11163
11164When package A is added to an image via the :term:`RDEPENDS` or :term:`RRECOMMENDS`
11165mechanisms as well as explicitly included in the image recipe with
11166:term:`IMAGE_INSTALL`, and depends on a static linked library recipe B
11167(``DEPENDS += "B"``), package B will neither appear in the generated license
11168manifest nor in the generated source tarballs. This occurs as the
11169:ref:`license <ref-classes-license>` and :ref:`archiver <ref-classes-archiver>`
11170classes assume that only packages included via :term:`RDEPENDS` or :term:`RRECOMMENDS`
11171end up in the image.
11172
11173As a result, potential obligations regarding license compliance for package B
11174may not be met.
11175
11176The Yocto Project doesn't enable static libraries by default, in part because
11177of this issue. Before a solution to this limitation is found, you need to
11178keep in mind that if your root filesystem is built from static libraries,
11179you will need to manually ensure that your deliveries are compliant
11180with the licenses of these libraries.
11161 11181
11162Copying Non Standard Licenses 11182Copying Non Standard Licenses
11163----------------------------- 11183-----------------------------