summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-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 fde8f446ad..cc3acfa8cc 100644
--- a/meta/classes/utils.bbclass
+++ b/meta/classes/utils.bbclass
@@ -351,6 +351,15 @@ def extend_variants(d, var, extend, delim=':'):
351 variants.append(eext[1]) 351 variants.append(eext[1])
352 return " ".join(variants) 352 return " ".join(variants)
353 353
354def multilib_pkg_extend(d, pkg):
355 variants = (d.getVar("MULTILIB_VARIANTS", True) or "").split()
356 if not variants:
357 return pkg
358 pkgs = pkg
359 for v in variants:
360 pkgs = pkgs + " " + v + "-" + pkg
361 return pkgs
362
354def all_multilib_tune_values(d, var, unique = True, need_split = True, delim = ' '): 363def all_multilib_tune_values(d, var, unique = True, need_split = True, delim = ' '):
355 """Return a string of all ${var} in all multilib tune configuration""" 364 """Return a string of all ${var} in all multilib tune configuration"""
356 values = [] 365 values = []