summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-15 17:34:56 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-16 10:31:37 +0000
commitbf08d9ccb9cbc749a571af3d33140bcae0e252a6 (patch)
tree29a6bdb151ddf379ccb5429e139aa4103872029b /meta/classes
parent6723a045c3a46537bb76111f8306b5960e532522 (diff)
downloadopenembedded-core-contrib-bf08d9ccb9cbc749a571af3d33140bcae0e252a6.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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/license.bbclass4
1 files changed, 0 insertions, 4 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):
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