diff options
author | Christopher Larson <kergoth@gmail.com> | 2012-04-16 15:16:38 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-03 15:48:02 +0100 |
commit | c44aca85db88ed99adcc9b97ca284d8484538def (patch) | |
tree | 47eec932874acb3cbf11adff01059a34788dea35 | |
parent | df914695b5ec523f9ce414a3988a912921382fd5 (diff) | |
download | poky-c44aca85db88ed99adcc9b97ca284d8484538def.tar.gz |
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.
(From OE-Core rev: 041a61368350dfbca825d2b2781543ea22678161)
Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/conf/distro/include/csl-versions.inc | 4 |
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 6b8b2c5b96..ec7a6ba4fd 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 () { | |||
103 | d.setVar('CSL_VER_GDB', csl_get_gdb_version(ld)) | 103 | d.setVar('CSL_VER_GDB', csl_get_gdb_version(ld)) |
104 | } | 104 | } |
105 | addhandler csl_version_handler | 105 | addhandler csl_version_handler |
106 | |||
107 | # Ensure that any variable which includes the --sysroot (CC, CXX, etc) also | ||
108 | # depends on the toolchain version | ||
109 | TOOLCHAIN_OPTIONS[vardeps] += "CSL_VER_MAIN CSL_VER_GCC" | ||