diff -ruN bitbake/lib/bb/taskdata.py bitbake-modified/lib/bb/taskdata.py --- bitbake/lib/bb/taskdata.py 2009-11-09 03:20:16.000000000 +0800 +++ bitbake-modified/lib/bb/taskdata.py 2009-12-15 11:15:18.000000000 +0800 @@ -260,10 +260,19 @@ Return a list of build targets who's providers are unknown. """ + import re + unresolved = [] for target in self.build_names_index: - if target in dataCache.ignored_dependencies: + match = False + for igpkg in dataCache.ignored_dependencies: + if target == igpkg: + match = True + elif re.search(igpkg,target) != None: + match = True + if match == True: continue + if self.build_names_index.index(target) in self.failed_deps: continue if not self.have_build_target(target): @@ -275,9 +284,17 @@ Return a list of runtime targets who's providers are unknown. """ + import re + unresolved = [] for target in self.run_names_index: - if target in dataCache.ignored_dependencies: + match = False + for igpkg in dataCache.ignored_dependencies: + if target == igpkg: + match = True + elif re.search(igpkg,target) != None: + match = True + if match == True: continue if self.run_names_index.index(target) in self.failed_rdeps: continue @@ -356,9 +373,16 @@ Mark entries were specifically added externally as against dependencies added internally during dependency resolution """ + import re - if item in dataCache.ignored_dependencies: - return + match = False + for igpkg in dataCache.ignored_dependencies: + if item == igpkg: + match = True + elif re.search(igpkg,item) != None: + match = True + if match == True: + return if not item in dataCache.providers: if self.get_rdependees_str(item): @@ -407,9 +431,16 @@ Add the runtime providers of item to the task data (takes item names from RDEPENDS/PACKAGES namespace) """ + import re - if item in dataCache.ignored_dependencies: - return + match = False + for igpkg in dataCache.ignored_dependencies: + if item == igpkg: + match = True + elif re.search(igpkg,item) != None: + match = True + if match == True: + return if self.have_runtime_target(item): return