diff options
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 614d47d16f..e965bcc440 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -180,7 +180,10 @@ class BBCooker: | |||
180 | if not watcher: | 180 | if not watcher: |
181 | watcher = self.watcher | 181 | watcher = self.watcher |
182 | for i in deps: | 182 | for i in deps: |
183 | f = i[0] | 183 | f = os.path.dirname(i[0]) |
184 | if f in watcher.bbseen: | ||
185 | continue | ||
186 | watcher.bbseen.append(f) | ||
184 | while True: | 187 | while True: |
185 | # We try and add watches for files that don't exist but if they did, would influence | 188 | # We try and add watches for files that don't exist but if they did, would influence |
186 | # the parser. The parent directory of these files may not exist, in which case we need | 189 | # the parser. The parent directory of these files may not exist, in which case we need |