summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-25 19:08:27 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-26 14:56:20 +0100
commitf3d5e08e654cc116947560ad981f2521be0d9eb5 (patch)
tree138f1aa00b440d728b868fdb8d46c8171d8faa27
parent8067a78f3ef9600db452349411d52baf42b6e6da (diff)
downloadpoky-f3d5e08e654cc116947560ad981f2521be0d9eb5.tar.gz
staging.bbclass: Add support for invalidtasks parameter (see bitbake change)
(From OE-Core rev: d3ae2fc896fd866aac9f064dccbff971c324f43c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/staging.bbclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index cf160a76fd..eda415e480 100644
--- a/meta/classes/staging.bbclass
+++ b/meta/classes/staging.bbclass
@@ -78,10 +78,12 @@ do_configure[prefuncs] += "sysroot_cleansstate"
78 78
79BB_SETSCENE_VERIFY_FUNCTION = "sysroot_checkhashes" 79BB_SETSCENE_VERIFY_FUNCTION = "sysroot_checkhashes"
80 80
81def sysroot_checkhashes(covered, tasknames, fnids, fns, d): 81def sysroot_checkhashes(covered, tasknames, fnids, fns, d, invalidtasks = None):
82 problems = set() 82 problems = set()
83 configurefnids = set() 83 configurefnids = set()
84 for task in xrange(len(tasknames)): 84 if not invalidtasks:
85 invalidtasks = xrange(len(tasknames))
86 for task in invalidtasks:
85 if tasknames[task] == "do_configure" and task not in covered: 87 if tasknames[task] == "do_configure" and task not in covered:
86 configurefnids.add(fnids[task]) 88 configurefnids.add(fnids[task])
87 for task in covered: 89 for task in covered: