summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorMing Liu <ming.liu@windriver.com>2013-11-14 18:51:28 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-06 22:17:33 +0000
commit22764d3f4dc44788fa29ed0f8e39e56fa35c85cf (patch)
tree7bdef30aababff3e30321e24f1077843124e5417 /meta
parent7aa3b95b680d804b24d7a6eb084e0736a27fbae2 (diff)
downloadpoky-22764d3f4dc44788fa29ed0f8e39e56fa35c85cf.tar.gz
sstate: Add optimizing logic for crosssdk setscene dependencies
This patch mainly aims to add optimisation for crosssdk setscene dependency validating which we haven't handled in current logic, and which I think we could have as we've already implemented to native/cross, although there are albeit not many crossdk tasks, we could still get some performance enhancement. (From OE-Core rev: 1094983ff87a8b745a5bc7bfe9514433ee3c4ad2) Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/sstate.bbclass6
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 5a22ff8382..2b5b7cdc2a 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -676,12 +676,10 @@ def setscene_depvalid(task, taskdependees, notneeded, d):
676 676
677 bb.debug(2, "Considering setscene task: %s" % (str(taskdependees[task]))) 677 bb.debug(2, "Considering setscene task: %s" % (str(taskdependees[task])))
678 678
679 def isNative(x):
680 return x.endswith("-native")
681 def isNativeCross(x): 679 def isNativeCross(x):
682 return x.endswith("-native") or x.endswith("-cross") or x.endswith("-cross-initial") 680 return x.endswith("-native") or x.endswith("-cross") or x.endswith("-cross-initial") or x.endswith("-crosssdk") or x.endswith("-crosssdk-initial")
683 def isSafeDep(x): 681 def isSafeDep(x):
684 if x in ["quilt-native", "autoconf-native", "automake-native", "gnu-config-native", "libtool-native", "pkgconfig-native", "gcc-cross", "binutils-cross", "gcc-cross-initial"]: 682 if x in ["quilt-native", "autoconf-native", "automake-native", "gnu-config-native", "libtool-native", "pkgconfig-native", "gcc-cross", "binutils-cross", "gcc-cross-initial", "gcc-crosssdk", "binutils-crosssdk", "gcc-crosssdk-initial"]:
685 return True 683 return True
686 return False 684 return False
687 def isPostInstDep(x): 685 def isPostInstDep(x):