summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2013-01-25 16:34:13 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-25 12:42:08 +0000
commit3183902e1849ee9e5251d55b63024b4b22156649 (patch)
tree01a36c8bcc94f6ed575c56f264f4ae75a7b8feba
parent03fee6c3b1342e6ac03e51a8a3c73b46fb067211 (diff)
downloadpoky-3183902e1849ee9e5251d55b63024b4b22156649.tar.gz
bitbake: cache.py: remove the duplicated self.file_depends
There are two "self.file_depends =" lines in cache.py::CoreRecipeInfo: class CoreRecipeInfo(RecipeInfoCommon): __slots__ = () cachefile = "bb_cache.dat" def __init__(self, filename, metadata): self.file_depends = metadata.getVar('__depends', False) [snip] self.file_depends = metadata.getVar('__depends', False) They are duplicated, remove the last one. [YOCTO #3795] (Bitbake rev: 409a4aa0e166c25a8cfcd91e54f1b61cced74e87) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/cache.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py
index a3c073a59f..fd5fbb32fb 100644
--- a/bitbake/lib/bb/cache.py
+++ b/bitbake/lib/bb/cache.py
@@ -119,7 +119,6 @@ class CoreRecipeInfo(RecipeInfoCommon):
119 self.basetaskhashes = self.taskvar('BB_BASEHASH', self.tasks, metadata) 119 self.basetaskhashes = self.taskvar('BB_BASEHASH', self.tasks, metadata)
120 self.hashfilename = self.getvar('BB_HASHFILENAME', metadata) 120 self.hashfilename = self.getvar('BB_HASHFILENAME', metadata)
121 121
122 self.file_depends = metadata.getVar('__depends', False)
123 self.task_deps = metadata.getVar('_task_deps', False) or {'tasks': [], 'parents': {}} 122 self.task_deps = metadata.getVar('_task_deps', False) or {'tasks': [], 'parents': {}}
124 123
125 self.skipped = False 124 self.skipped = False