diff mbox series

[04/13] lib/oe/utils: drop all_multilib_tune_list

Message ID 20261116-oe-lib-docstrings-v1-4-0c894f6a1064@bootlin.com
State New
Headers show
Series Improve or add oe.* library docstrings | expand

Commit Message

Antonin Godard Nov. 16, 2026, 4:09 p.m. UTC
The last user of all_multilib_tune_list was prelink, which was dropped in
2022 with 23c0be78106f ("prelink: Drop support for it"). There are no
other users of this function, and the current function is broken due to
its usage of oe.utils.get_multilib_datastore(...) which should be
replaced by get_multilib_datastore(...) directly. Drop it.

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
 meta/lib/oe/utils.py | 19 -------------------
 1 file changed, 19 deletions(-)
diff mbox series

Patch

diff --git a/meta/lib/oe/utils.py b/meta/lib/oe/utils.py
index 5d4f4056f7..a17938803e 100644
--- a/meta/lib/oe/utils.py
+++ b/meta/lib/oe/utils.py
@@ -601,25 +601,6 @@  def all_multilib_tune_values(d, var, unique = True, need_split = True, delim = '
         ret = values
     return " ".join(ret)
 
-def all_multilib_tune_list(vars, d):
-    """
-    Return a list of ${VAR} for each variable VAR in vars from each
-    multilib tune configuration.
-    Is safe to be called from a multilib recipe/context as it can
-    figure out the original tune and remove the multilib overrides.
-    """
-    values = {}
-    for v in vars:
-        values[v] = []
-    values['ml'] = ['']
-
-    variants = (d.getVar("MULTILIB_VARIANTS") or "").split() + ['']
-    for item in variants:
-        localdata = oe.utils.get_multilib_datastore(item, d)
-        values[v].append(localdata.getVar(v))
-        values['ml'].append(item)
-    return values
-
 def extend_variants(d, var, extend, delim=':'):
     """Return a string of all bb class extend variants for the given extend"""
     variants = []