diff options
author | Ming Liu <ming.liu@windriver.com> | 2013-11-14 18:51:28 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-06 16:30:02 +0000 |
commit | 1094983ff87a8b745a5bc7bfe9514433ee3c4ad2 (patch) | |
tree | 654bdd95e8a4c1f2a47e8d2e46725c373a7f45f1 /meta/classes/sstate.bbclass | |
parent | 43d18d9ce53b532e4df7a7ee56b4c8b41586ccf9 (diff) | |
download | openembedded-core-1094983ff87a8b745a5bc7bfe9514433ee3c4ad2.tar.gz openembedded-core-1094983ff87a8b745a5bc7bfe9514433ee3c4ad2.tar.bz2 openembedded-core-1094983ff87a8b745a5bc7bfe9514433ee3c4ad2.zip |
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.
Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r-- | meta/classes/sstate.bbclass | 6 |
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): bb.debug(2, "Considering setscene task: %s" % (str(taskdependees[task]))) - def isNative(x): - return x.endswith("-native") def isNativeCross(x): - return x.endswith("-native") or x.endswith("-cross") or x.endswith("-cross-initial") + return x.endswith("-native") or x.endswith("-cross") or x.endswith("-cross-initial") or x.endswith("-crosssdk") or x.endswith("-crosssdk-initial") def isSafeDep(x): - if x in ["quilt-native", "autoconf-native", "automake-native", "gnu-config-native", "libtool-native", "pkgconfig-native", "gcc-cross", "binutils-cross", "gcc-cross-initial"]: + 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"]: return True return False def isPostInstDep(x): |