diff options
Diffstat (limited to 'documentation/dev-manual')
| -rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 25 |
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'> |
