diff options
-rw-r--r-- | bitbake/lib/bb/build.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index 43790a658a..2f6a61f4b0 100644 --- a/bitbake/lib/bb/build.py +++ b/bitbake/lib/bb/build.py | |||
@@ -591,9 +591,10 @@ def add_tasks(tasklist, d): | |||
591 | getTask('noexec') | 591 | getTask('noexec') |
592 | getTask('umask') | 592 | getTask('umask') |
593 | task_deps['parents'][task] = [] | 593 | task_deps['parents'][task] = [] |
594 | for dep in flags['deps']: | 594 | if 'deps' in flags: |
595 | dep = data.expand(dep, d) | 595 | for dep in flags['deps']: |
596 | task_deps['parents'][task].append(dep) | 596 | dep = data.expand(dep, d) |
597 | task_deps['parents'][task].append(dep) | ||
597 | 598 | ||
598 | # don't assume holding a reference | 599 | # don't assume holding a reference |
599 | data.setVar('_task_deps', task_deps, d) | 600 | data.setVar('_task_deps', task_deps, d) |