From patchwork Wed Feb 29 13:24:12 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: layer.conf: exclude meta-environment with SIGGEN_EXCLUDERECIPES_ABISAFE Date: Wed, 29 Feb 2012 13:24:12 -0000 From: Richard Purdie X-Patchwork-Id: 22417 Message-Id: <1330521852.24508.42.camel@ted> To: Patches and discussions about the oe-core layer On Wed, 2012-02-29 at 11:47 +0100, Martin Jansa wrote: > * it's machine specific and depends on TIME > basehash changed from 30e97f9eeed1df8488b62b4fb47a3a0c to 72ea9a277e6599ae9052b169b9a94f1b > Variable TOOLCHAIN_CONFIGSITE_SYSROOTCACHE value changed from > /OE/oe-core/tmp-eglibc/sysroots/qemux86-64/usr/share/x86_64-oe-linux_config_site.d > to > /OE/oe-core/tmp-eglibc/sysroots/qemux86-64copy/usr/share/x86_64-oe-linux_config_site.d > Variable TIME value changed from 084543 to 085638 > * causes task-cross-canadian to be also machine specific I think a better way to fix this might be: Cheers, Richard diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass index 6fc9c13..6ca85d9 100644 --- a/meta/classes/toolchain-scripts.bbclass +++ b/meta/classes/toolchain-scripts.bbclass @@ -127,6 +127,8 @@ toolchain_create_sdk_siteconfig () { fi done } +# The immediate expansion above can result in unwanted path dependencies here +toolchain_create_sdk_siteconfig[vardepsexclude] = "TOOLCHAIN_CONFIGSITE_SYSROOTCACHE" #This function create a version information file toolchain_create_sdk_version () { @@ -138,6 +140,7 @@ toolchain_create_sdk_version () { echo 'Metadata Revision: ${METADATA_REVISION}' >> $versionfile echo 'Timestamp: ${DATETIME}' >> $versionfile } +toolchain_create_sdk_version[vardepsexclude] = "DATETIME" python __anonymous () { deps = d.getVarFlag('do_configure', 'depends') or ""