[OE-core] [oe-core][PATCH] layer.conf: exclude meta-environment with SIGGEN_EXCLUDERECIPES_ABISAFE

Richard Purdie richard.purdie at linuxfoundation.org
Wed Feb 29 13:24:12 UTC 2012


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:

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 ""

Cheers,

Richard





More information about the Openembedded-core mailing list