diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-15 17:34:56 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-16 10:31:41 +0000 |
commit | 10c24d7b663b2cce76f4489b11a3607af82c4e88 (patch) | |
tree | 8727602d30d4e8d5008f7820889bace31492d934 | |
parent | e03460b0bc343ca0721d27b0cd550892eeb2692e (diff) | |
download | poky-10c24d7b663b2cce76f4489b11a3607af82c4e88.tar.gz |
license: Drop AVAILABLE_LICENSES
This variable is a performance liability and is highly dependent on which
layers are added to the configuration which can cause signature issues
for users. We have no users left in OE-Coreso remove it.
(From OE-Core rev: bf08d9ccb9cbc749a571af3d33140bcae0e252a6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/license.bbclass | 4 | ||||
-rw-r--r-- | meta/conf/documentation.conf | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass index 94338be90a..813e1ea4f5 100644 --- a/meta/classes/license.bbclass +++ b/meta/classes/license.bbclass | |||
@@ -271,10 +271,6 @@ def available_licenses(d): | |||
271 | licenses = sorted(licenses) | 271 | licenses = sorted(licenses) |
272 | return licenses | 272 | return licenses |
273 | 273 | ||
274 | # Only determine the list of all available licenses once. This assumes that any | ||
275 | # additions to LICENSE_PATH have been done before this file is parsed. | ||
276 | AVAILABLE_LICENSES := "${@' '.join(available_licenses(d))}" | ||
277 | |||
278 | def expand_wildcard_licenses(d, wildcard_licenses): | 274 | def expand_wildcard_licenses(d, wildcard_licenses): |
279 | """ | 275 | """ |
280 | There are some common wildcard values users may want to use. Support them | 276 | There are some common wildcard values users may want to use. Support them |
diff --git a/meta/conf/documentation.conf b/meta/conf/documentation.conf index feb23a666b..ab2addb321 100644 --- a/meta/conf/documentation.conf +++ b/meta/conf/documentation.conf | |||
@@ -72,7 +72,6 @@ ASSUME_SHLIBS[doc] = "List of shlib:package[_version] mappings. Useful for lib p | |||
72 | AUTHOR[doc] = "Email address used to contact the original author(s) in order to send patches and forward bugs." | 72 | AUTHOR[doc] = "Email address used to contact the original author(s) in order to send patches and forward bugs." |
73 | AUTO_SYSLINUXMENU[doc] = "Enables creating an automatic menu for the syslinux bootloader." | 73 | AUTO_SYSLINUXMENU[doc] = "Enables creating an automatic menu for the syslinux bootloader." |
74 | AUTOREV[doc] = "When SRCREV is set to the value of this variable, it specifies to use the latest source revision in the repository." | 74 | AUTOREV[doc] = "When SRCREV is set to the value of this variable, it specifies to use the latest source revision in the repository." |
75 | AVAILABLE_LICENSES[doc] = "List of licenses found in the directories specified by COMMON_LICENSE_DIR and LICENSE_PATH." | ||
76 | 75 | ||
77 | #B | 76 | #B |
78 | 77 | ||