summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/multilib.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass
index a999b69b2a..3cc470ec4c 100644
--- a/meta/classes/multilib.bbclass
+++ b/meta/classes/multilib.bbclass
@@ -52,6 +52,11 @@ python multilib_virtclass_handler () {
52 e.data.setVar("PN", variant + "-" + e.data.getVar("PN", False)) 52 e.data.setVar("PN", variant + "-" + e.data.getVar("PN", False))
53 e.data.setVar("SHLIBSDIR_virtclass-multilib-" + variant ,e.data.getVar("SHLIBSDIR", False) + "/" + variant) 53 e.data.setVar("SHLIBSDIR_virtclass-multilib-" + variant ,e.data.getVar("SHLIBSDIR", False) + "/" + variant)
54 e.data.setVar("OVERRIDES", e.data.getVar("OVERRIDES", False) + override) 54 e.data.setVar("OVERRIDES", e.data.getVar("OVERRIDES", False) + override)
55
56 # DEFAULTTUNE can change TARGET_ARCH override so expand this now before update_data
57 newtune = e.data.getVar("DEFAULTTUNE_" + "virtclass-multilib-" + variant, False)
58 if newtune:
59 e.data.setVar("DEFAULTTUNE", newtune)
55} 60}
56 61
57addhandler multilib_virtclass_handler 62addhandler multilib_virtclass_handler