]> code.ossystems Code Review - openembedded-core.git/commitdiff
csl-versions.inc: capture version in signatures
authorChristopher Larson <kergoth@gmail.com>
Mon, 16 Apr 2012 20:16:38 +0000 (15:16 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 3 May 2012 14:00:25 +0000 (15:00 +0100)
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>
meta/conf/distro/include/csl-versions.inc

index 6b8b2c5b96f3f5fe8f0fbcc74a08b7caa8058523..ec7a6ba4fda2b62c2115f66204ce7c3218359c3c 100644 (file)
@@ -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"