diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2018-02-01 23:15:27 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-02-14 15:26:03 +0000 |
commit | 85fa5ee8254846af269af61c214f81cce4c5b4a8 (patch) | |
tree | 81731c061adeef58345c604bd7b74ef6ffc6c15c /bitbake/lib/bb/parse/parse_py/BBHandler.py | |
parent | f72a121233b0267556859b56611b57215e0b7fbb (diff) | |
download | poky-85fa5ee8254846af269af61c214f81cce4c5b4a8.tar.gz |
bitbake: bitbake: parse: fixes for resolve_file()
The resolve_file() calls mark_dependency(), so the one which calls
resolve_file() doesn't need call mark_dependency() again.
(Bitbake rev: 4682571107323a39b42cd9ec8ee67419e7f15acc)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/parse/parse_py/BBHandler.py')
-rw-r--r-- | bitbake/lib/bb/parse/parse_py/BBHandler.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/bitbake/lib/bb/parse/parse_py/BBHandler.py b/bitbake/lib/bb/parse/parse_py/BBHandler.py index f89ad24273..e5039e3bd1 100644 --- a/bitbake/lib/bb/parse/parse_py/BBHandler.py +++ b/bitbake/lib/bb/parse/parse_py/BBHandler.py | |||
@@ -131,9 +131,6 @@ def handle(fn, d, include): | |||
131 | 131 | ||
132 | abs_fn = resolve_file(fn, d) | 132 | abs_fn = resolve_file(fn, d) |
133 | 133 | ||
134 | if include: | ||
135 | bb.parse.mark_dependency(d, abs_fn) | ||
136 | |||
137 | # actual loading | 134 | # actual loading |
138 | statements = get_statements(fn, abs_fn, base_name) | 135 | statements = get_statements(fn, abs_fn, base_name) |
139 | 136 | ||