* [PATCH] sstatesig: Move saferecipedeps handling to be earlier
@ 2014-05-28 16:38 Richard Purdie
2014-05-28 17:35 ` Burton, Ross
0 siblings, 1 reply; 2+ messages in thread
From: Richard Purdie @ 2014-05-28 16:38 UTC (permalink / raw)
To: openembedded-core
We want to use the saferecipedeps handling code to allow gcc-cross-* to
work on multiple different tunes. Its currently in target only code
so it needs to be earlier to allow it to work on native-> target
dependencies.
This change has no effect on existing uses but makes gcc-cross become
shared as desired.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
index 40f9974..acff2a0 100644
--- a/meta/lib/oe/sstatesig.py
+++ b/meta/lib/oe/sstatesig.py
@@ -26,6 +26,10 @@ def sstate_rundepfilter(siggen, fn, recipename, task, dep, depname, dataCache):
if depname in excludelist and recipename != depname:
return False
+ # Exclude well defined recipe->dependency
+ if "%s->%s" % (recipename, depname) in siggen.saferecipedeps:
+ return False
+
# Don't change native/cross/nativesdk recipe dependencies any further
if isNative(recipename) or isCross(recipename) or isNativeSDK(recipename):
return True
@@ -40,10 +44,6 @@ def sstate_rundepfilter(siggen, fn, recipename, task, dep, depname, dataCache):
if depname in siggen.abisaferecipes and not isImage(fn):
return False
- # Exclude well defined recipe->dependency
- if "%s->%s" % (recipename, depname) in siggen.saferecipedeps:
- return False
-
# Kernel modules are well namespaced. We don't want to depend on the kernel's checksum
# if we're just doing an RRECOMMENDS_xxx = "kernel-module-*", not least because the checksum
# is machine specific.
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] sstatesig: Move saferecipedeps handling to be earlier
2014-05-28 16:38 [PATCH] sstatesig: Move saferecipedeps handling to be earlier Richard Purdie
@ 2014-05-28 17:35 ` Burton, Ross
0 siblings, 0 replies; 2+ messages in thread
From: Burton, Ross @ 2014-05-28 17:35 UTC (permalink / raw)
To: Richard Purdie; +Cc: openembedded-core
On 28 May 2014 17:38, Richard Purdie <richard.purdie@linuxfoundation.org> wrote:
> This change has no effect on existing uses but makes gcc-cross become
> shared as desired.
As the reporter of the problem to Richard I confirm that this fixes the problem.
Ross
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-05-28 17:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-28 16:38 [PATCH] sstatesig: Move saferecipedeps handling to be earlier Richard Purdie
2014-05-28 17:35 ` Burton, Ross
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.