From c44aca85db88ed99adcc9b97ca284d8484538def Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Mon, 16 Apr 2012 15:16:38 -0500 Subject: 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 Signed-off-by: Richard Purdie --- meta/conf/distro/include/csl-versions.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta') 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 () { 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" -- cgit v1.2.3-54-g00ecf