diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2019-12-11 17:48:13 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-16 23:25:49 +0000 |
commit | 2a263780814e3b07d48e3812579cfe4696db8413 (patch) | |
tree | dd22977fd3e6dffa412b9507b9c36e14e31ee404 /meta/conf/documentation.conf | |
parent | 15a450cd94b76787d7a15d54eca6d522a29eae49 (diff) | |
download | poky-2a263780814e3b07d48e3812579cfe4696db8413.tar.gz |
license.bbclass: Introduce AVAILABLE_LICENSES that lists all licenses
Previously, there was SRC_DISTRIBUTE_LICENSES, an undocumented
variable that contained a static list of licenses. It was used by
expand_wildcard_licenses() to expand any wildcards used in, e.g.,
INCOMPATIBLE_LICENSE. However, since this static list of licenses has
not been kept up-to-date, many licenses were missing, with the result
that if one tried to use any of those licenses with a wildcard, no
licenses would be found, effectively ignoring that they should be
marked as incompatible.
This introduces a new (documented) variable, AVAILABLE_LICENSES, that
is automatically updated to contain all licenses found in any
directories specified by ${COMMON_LICENSE_DIR} and ${LICENSE_PATH},
and uses it instead of SRC_DISTRIBUTE_LICENSES when expanding
wildcards.
(From OE-Core rev: 8c9ef587fe499c612a878a1ab42092eb79b334ef)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/documentation.conf')
-rw-r--r-- | meta/conf/documentation.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/documentation.conf b/meta/conf/documentation.conf index fca36f3cf6..0b21d1f63e 100644 --- a/meta/conf/documentation.conf +++ b/meta/conf/documentation.conf | |||
@@ -69,6 +69,7 @@ ASSUME_SHLIBS[doc] = "List of shlib:package[_version] mappings. Useful for lib p | |||
69 | AUTHOR[doc] = "Email address used to contact the original author(s) in order to send patches and forward bugs." | 69 | AUTHOR[doc] = "Email address used to contact the original author(s) in order to send patches and forward bugs." |
70 | AUTO_SYSLINUXMENU[doc] = "Enables creating an automatic menu for the syslinux bootloader." | 70 | AUTO_SYSLINUXMENU[doc] = "Enables creating an automatic menu for the syslinux bootloader." |
71 | AUTOREV[doc] = "When SRCREV is set to the value of this variable, it specifies to use the latest source revision in the repository." | 71 | AUTOREV[doc] = "When SRCREV is set to the value of this variable, it specifies to use the latest source revision in the repository." |
72 | AVAILABLE_LICENSES[doc] = "List of licenses found in the directories specified by COMMON_LICENSE_DIR and LICENSE_PATH." | ||
72 | 73 | ||
73 | #B | 74 | #B |
74 | 75 | ||