summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/build.py1
-rw-r--r--bitbake/lib/bb/runqueue.py12
2 files changed, 13 insertions, 0 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
index 5fa18aa6af..18a75edca3 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -429,6 +429,7 @@ def add_tasks(tasklist, d):
429 getTask('recrdeptask') 429 getTask('recrdeptask')
430 getTask('nostamp') 430 getTask('nostamp')
431 getTask('fakeroot') 431 getTask('fakeroot')
432 getTask('noexec')
432 task_deps['parents'][task] = [] 433 task_deps['parents'][task] = []
433 for dep in flags['deps']: 434 for dep in flags['deps']:
434 dep = data.expand(dep, d) 435 dep = data.expand(dep, d)
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 848dccac34..178a5a61b9 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1212,6 +1212,18 @@ class RunQueueExecuteTasks(RunQueueExecute):
1212 self.task_skip(task) 1212 self.task_skip(task)
1213 return True 1213 return True
1214 1214
1215 taskdep = self.rqdata.dataCache.task_deps[fn]
1216 if 'noexec' in taskdep and taskname in taskdep['noexec']:
1217 bb.msg.note(1, bb.msg.domain.RunQueue,
1218 "Noexec task %d of %d (ID: %s, %s)" % (self.stats.completed + self.stats.active + self.stats.failed + 1,
1219 self.stats.total,
1220 task,
1221 self.rqdata.get_user_idstring(task)))
1222 self.runq_running[task] = 1
1223 self.runq_buildable[task] = 1
1224 self.task_complete(task)
1225 return True
1226
1215 bb.event.fire(runQueueTaskStarted(task, self.stats, self.rq), self.cfgData) 1227 bb.event.fire(runQueueTaskStarted(task, self.stats, self.rq), self.cfgData)
1216 bb.msg.note(1, bb.msg.domain.RunQueue, 1228 bb.msg.note(1, bb.msg.domain.RunQueue,
1217 "Running task %d of %d (ID: %s, %s)" % (self.stats.completed + self.stats.active + self.stats.failed + 1, 1229 "Running task %d of %d (ID: %s, %s)" % (self.stats.completed + self.stats.active + self.stats.failed + 1,