diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2006-08-21 15:38:17 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2006-08-21 15:38:17 +0000 |
commit | 0c7c3788a6a91561fb35c9405fd303a724613c34 (patch) | |
tree | 7d6cf03ae8a04405fb716aaadbdf2230dfb03011 /lib/bb/taskdata.py | |
parent | 0b9bfc970e5d1dad5f917b98db23ae272ac5e823 (diff) | |
download | bitbake-0c7c3788a6a91561fb35c9405fd303a724613c34.tar.gz |
taskdata.py: Add handling to remove/ignore files which fail after after the checks earlier in add_[r]provider
Diffstat (limited to 'lib/bb/taskdata.py')
-rw-r--r-- | lib/bb/taskdata.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/bb/taskdata.py b/lib/bb/taskdata.py index d14b0b99e..adcdac93e 100644 --- a/lib/bb/taskdata.py +++ b/lib/bb/taskdata.py @@ -359,8 +359,10 @@ class TaskData: self.consider_msgs_cache.append(item) for fn in eligible: + fnid = self.getfn_id(fn) + if fnid in self.failed_fnids: + continue bb.msg.debug(2, bb.msg.domain.Provider, "adding %s to satisfy %s" % (fn, item)) - self.add_tasks(fn, dataCache) self.add_build_target(fn, item) @@ -434,6 +436,9 @@ class TaskData: # run through the list until we find one that we can build for fn in eligible: + fnid = self.getfn_id(fn) + if fnid in self.failed_fnids: + continue bb.msg.debug(2, bb.msg.domain.Provider, "adding %s to satisfy runtime %s" % (fn, item)) self.add_tasks(fn, dataCache) self.add_runtime_target(fn, item) |