From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] layer.conf: exclude meta-environment with SIGGEN_EXCLUDERECIPES_ABISAFE
Date: Wed, 29 Feb 2012 13:24:12 +0000 [thread overview]
Message-ID: <1330521852.24508.42.camel@ted> (raw)
In-Reply-To: <1330512429-29934-1-git-send-email-Martin.Jansa@gmail.com>
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
next prev parent reply other threads:[~2012-02-29 13:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-29 10:45 MACHINE overrides in meta/recipes-gnome/tasks/task-sdk-gmae.inc Martin Jansa
2012-02-29 10:47 ` [PATCH] layer.conf: exclude meta-environment with SIGGEN_EXCLUDERECIPES_ABISAFE Martin Jansa
2012-02-29 13:24 ` Richard Purdie [this message]
2012-03-09 8:29 ` Martin Jansa
2012-03-09 14:22 ` Richard Purdie
2012-02-29 12:34 ` MACHINE overrides in meta/recipes-gnome/tasks/task-sdk-gmae.inc Martin Jansa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1330521852.24508.42.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox