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.

Signed-off-by: Richard Purdie <[email protected]>
---
 meta/classes/license.bbclass | 4 ----
 meta/conf/documentation.conf | 1 -
 2 files changed, 5 deletions(-)

diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
index 94338be90a4..813e1ea4f5a 100644
--- a/meta/classes/license.bbclass
+++ b/meta/classes/license.bbclass
@@ -271,10 +271,6 @@ def available_licenses(d):
     licenses = sorted(licenses)
     return licenses
 
-# Only determine the list of all available licenses once. This assumes that any
-# additions to LICENSE_PATH have been done before this file is parsed.
-AVAILABLE_LICENSES := "${@' '.join(available_licenses(d))}"
-
 def expand_wildcard_licenses(d, wildcard_licenses):
     """
     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 feb23a666bf..ab2addb321a 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
 AUTHOR[doc] = "Email address used to contact the original author(s) in order 
to send patches and forward bugs."
 AUTO_SYSLINUXMENU[doc] = "Enables creating an automatic menu for the syslinux 
bootloader."
 AUTOREV[doc] = "When SRCREV is set to the value of this variable, it specifies 
to use the latest source revision in the repository."
-AVAILABLE_LICENSES[doc] = "List of licenses found in the directories specified 
by COMMON_LICENSE_DIR and LICENSE_PATH."
 
 #B
 
-- 
2.32.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163313): 
https://lists.openembedded.org/g/openembedded-core/message/163313
Mute This Topic: https://lists.openembedded.org/mt/89803457/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to