1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 00:20:08 +00:00

manuals: document LICENSE_FLAGS_DETAILS

(From yocto-docs rev: 299c9b295a8476abdb32fba01ac2f45efacea6f1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2023-05-24 17:32:01 +01:00
committed by Richard Purdie
parent d4f2f8269c
commit 6e7bf979f2
3 changed files with 28 additions and 1 deletions
+17
View File
@@ -4968,6 +4968,23 @@ system and gives an overview of their function and contents.
":ref:`dev-manual/licenses:enabling commercially licensed recipes`"
section in the Yocto Project Development Tasks Manual.
:term:`LICENSE_FLAGS_DETAILS`
Adds details about a flag in :term:`LICENSE_FLAGS`. This way,
if such a flag is not accepted through :term:`LICENSE_FLAGS_ACCEPTED`,
the error message will be more informative, containing the specified
extra details.
For example, a recipe with an EULA may set::
LICENSE_FLAGS = "FooBar-EULA"
LICENSE_FLAGS_DETAILS[FooBar-EULA] = "For further details, see https://example.com/eula."
If ``Foobar-EULA`` isn't in :term:`LICENSE_FLAGS_ACCEPTED`, the
error message is more useful::
Has a restricted license 'FooBar-EULA' which is not listed in your LICENSE_FLAGS_ACCEPTED.
For further details, see https://example.com/eula.
:term:`LICENSE_PATH`
Path to additional licenses used during the build. By default, the
OpenEmbedded build system uses :term:`COMMON_LICENSE_DIR` to define the