summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/utils.bbclass9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/classes/utils.bbclass b/meta/classes/utils.bbclass
index f8b09b423c..ccf78fcfee 100644
--- a/meta/classes/utils.bbclass
+++ b/meta/classes/utils.bbclass
@@ -325,6 +325,15 @@ def extend_variants(d, var, extend, delim=':'):
325 variants.append(eext[1]) 325 variants.append(eext[1])
326 return " ".join(variants) 326 return " ".join(variants)
327 327
328def multilib_pkg_extend(d, pkg):
329 variants = (d.getVar("MULTILIB_VARIANTS", True) or "").split()
330 if not variants:
331 return pkg
332 pkgs = pkg
333 for v in variants:
334 pkgs = pkgs + " " + v + "-" + pkg
335 return pkgs
336
328def all_multilib_tune_values(d, var, unique = True, need_split = True, delim = ' '): 337def all_multilib_tune_values(d, var, unique = True, need_split = True, delim = ' '):
329 """Return a string of all ${var} in all multilib tune configuration""" 338 """Return a string of all ${var} in all multilib tune configuration"""
330 values = [] 339 values = []