1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 05:29:32 +00:00

dev-manual, ref-manual: Documented NO_GENERIC_LICENSE

FIXES [YOCTO #12734]
Added a new variable description and created a new
section in the dev-manual.

(From yocto-docs rev: 854e641482171585c96ee5b9387b3e64146072b9)

Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Kristi Rifenbark
2018-06-12 11:49:34 -07:00
committed by Richard Purdie
parent 293183961e
commit 2a74e8fb94
2 changed files with 59 additions and 0 deletions
@@ -15072,6 +15072,31 @@
</para>
</section>
</section>
<section id='copying-licenses-that-do-not-exist'>
<title>Copying Licenses that Do Not Exist</title>
<para>
Some packages, such as the linux-firmware package, have many
licenses that are not in any way common.
You can avoid adding a lot of these types of common license
files, which are only applicable to a specific package, by using
the
<ulink url='&YOCTO_DOCS_REF_URL;#var-NO_GENERIC_LICENSE'><filename>NO_GENERIC_LICENSE</filename></ulink>
variable.
Using this variable also avoids QA errors when you use a
non-common, non-CLOSED license in a recipe.
</para>
<para>
The following is an example that uses the
<filename>LICENSE.Abilis.txt</filename>
file as the license from the fetched source:
<literallayout class='monospaced'>
NO_GENERIC_LICENSE[Firmware-Abilis] = "LICENSE.Abilis.txt"
</literallayout>
</para>
</section>
</section>
<section id='using-the-error-reporting-tool'>