summaryrefslogtreecommitdiff
path: root/meta/conf/distro
diff options
context:
space:
mode:
authorChristopher Larson <kergoth@gmail.com>2012-04-16 15:16:38 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-03 15:00:25 +0100
commit041a61368350dfbca825d2b2781543ea22678161 (patch)
tree15632bceb3d8bd695e3b8c8c6bb624c8e48423c1 /meta/conf/distro
parent86556a2bfa23ba69fea2ade14599054b186150cd (diff)
downloadopenembedded-core-041a61368350dfbca825d2b2781543ea22678161.tar.gz
openembedded-core-041a61368350dfbca825d2b2781543ea22678161.tar.bz2
openembedded-core-041a61368350dfbca825d2b2781543ea22678161.tar.xz
openembedded-core-041a61368350dfbca825d2b2781543ea22678161.zip
csl-versions.inc: capture version in signatures
We want to ensure that changing external toolchain version will change the metadata checksums of target recipes. This will do so via ensuring that any variable which references TOOLCHAIN_OPTIONS also pulls in the toolchain version variables. Signed-off-by: Christopher Larson <kergoth@gmail.com>
Diffstat (limited to 'meta/conf/distro')
-rw-r--r--meta/conf/distro/include/csl-versions.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/conf/distro/include/csl-versions.inc b/meta/conf/distro/include/csl-versions.inc
index 6b8b2c5b9..ec7a6ba4f 100644
--- a/meta/conf/distro/include/csl-versions.inc
+++ b/meta/conf/distro/include/csl-versions.inc
@@ -103,3 +103,7 @@ python csl_version_handler () {
d.setVar('CSL_VER_GDB', csl_get_gdb_version(ld))
}
addhandler csl_version_handler
+
+# Ensure that any variable which includes the --sysroot (CC, CXX, etc) also
+# depends on the toolchain version
+TOOLCHAIN_OPTIONS[vardeps] += "CSL_VER_MAIN CSL_VER_GCC"