summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual
diff options
context:
space:
mode:
authorKristi Rifenbark <kristi@buzzcollectivemarketing.com>2018-06-12 11:49:34 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-06-28 09:22:57 +0100
commit2a74e8fb94257d93dd28be56aa6d3017f52dad93 (patch)
treea1ee29b2a6aab2b090e7640892a6ff5444307d6e /documentation/dev-manual
parent293183961e3cf91bb7fd7995e8b1877d961f8d7b (diff)
downloadpoky-2a74e8fb94257d93dd28be56aa6d3017f52dad93.tar.gz
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>
Diffstat (limited to 'documentation/dev-manual')
-rw-r--r--documentation/dev-manual/dev-manual-common-tasks.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml
index fe1bfba6cf..0cb967f053 100644
--- a/documentation/dev-manual/dev-manual-common-tasks.xml
+++ b/documentation/dev-manual/dev-manual-common-tasks.xml
@@ -15072,6 +15072,31 @@
15072 </para> 15072 </para>
15073 </section> 15073 </section>
15074 </section> 15074 </section>
15075
15076 <section id='copying-licenses-that-do-not-exist'>
15077 <title>Copying Licenses that Do Not Exist</title>
15078
15079 <para>
15080 Some packages, such as the linux-firmware package, have many
15081 licenses that are not in any way common.
15082 You can avoid adding a lot of these types of common license
15083 files, which are only applicable to a specific package, by using
15084 the
15085 <ulink url='&YOCTO_DOCS_REF_URL;#var-NO_GENERIC_LICENSE'><filename>NO_GENERIC_LICENSE</filename></ulink>
15086 variable.
15087 Using this variable also avoids QA errors when you use a
15088 non-common, non-CLOSED license in a recipe.
15089 </para>
15090
15091 <para>
15092 The following is an example that uses the
15093 <filename>LICENSE.Abilis.txt</filename>
15094 file as the license from the fetched source:
15095 <literallayout class='monospaced'>
15096 NO_GENERIC_LICENSE[Firmware-Abilis] = "LICENSE.Abilis.txt"
15097 </literallayout>
15098 </para>
15099 </section>
15075 </section> 15100 </section>
15076 15101
15077 <section id='using-the-error-reporting-tool'> 15102 <section id='using-the-error-reporting-tool'>