summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-20 13:55:47 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-20 14:27:13 +0000
commitef16a14725fe9bc44bff41e4632721ca611b1728 (patch)
treeac343b7add5cd6131144e6b912dc343bf3417084
parent2a57e1334ff261a7ab45084be0f217e2acfe99af (diff)
downloadopenembedded-core-ef16a14725fe9bc44bff41e4632721ca611b1728.tar.gz
openembedded-core-ef16a14725fe9bc44bff41e4632721ca611b1728.tar.bz2
openembedded-core-ef16a14725fe9bc44bff41e4632721ca611b1728.zip
meta-environment: Ensure all multilib dependencies are accounted for
Currently the recipe depends on the mulitlib libcs all being built but the dependencies don't account for this. Fix the DEPENDS so that the requires pieces are all built first rather than relying on luck. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/meta/meta-environment.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-core/meta/meta-environment.bb b/meta/recipes-core/meta/meta-environment.bb
index a250cc89fe..a2ed229100 100644
--- a/meta/recipes-core/meta/meta-environment.bb
+++ b/meta/recipes-core/meta/meta-environment.bb
@@ -19,6 +19,10 @@ SDKTARGETSYSROOT = "${SDKPATH}/sysroots/${REAL_MULTIMACH_TARGET_SYS}"
inherit cross-canadian
+# Need to ensure we have the virtual mappings and site files for all multtilib
+# variants
+DEPENDS += "${@all_multilib_tune_values(d, 'TOOLCHAIN_NEED_CONFIGSITE_CACHE')}"
+
do_generate_content[cleandirs] = "${SDK_OUTPUT}"
do_generate_content[dirs] = "${SDK_OUTPUT}/${SDKPATH}"
python do_generate_content() {