summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/data.py
diff options
context:
space:
mode:
authorInsu Park <insu0.park@gmail.com>2023-09-19 15:59:38 +0900
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-20 08:57:41 +0100
commit6ad45f110e2249c7e3c372462aff101e43c9c0a3 (patch)
tree4612613ba5eb50d1a0dfc081207476e72613643a /bitbake/lib/bb/data.py
parentc603849494f240870937564cc47d27ad044e2188 (diff)
downloadpoky-6ad45f110e2249c7e3c372462aff101e43c9c0a3.tar.gz
bitbake: data: Add missing dependency handling of remove operator
A recipe variable handles its dependencies even on the "contains" variables within the "inline Python expressions" like bb.utils.filter(). And it also handles those in the append operator correctly, but the problem is that it does not so in the remove operator. Fix it by adding the missing dependencies every time the remove operator has been handled. Also add a test case to check if the override operators handle dependencies correctly. (Bitbake rev: b90520eedb1dbc7f6a3928d089fe74fafb864eb5) Signed-off-by: Insu Park <insu0.park@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/data.py')
-rw-r--r--bitbake/lib/bb/data.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/data.py b/bitbake/lib/bb/data.py
index 3ee8f5e7db..505f42950f 100644
--- a/bitbake/lib/bb/data.py
+++ b/bitbake/lib/bb/data.py
@@ -285,6 +285,7 @@ def build_dependencies(key, keys, mod_funcs, shelldeps, varflagsexcl, ignored_va
285 value += "\n_remove of %s" % r 285 value += "\n_remove of %s" % r
286 deps |= r2.references 286 deps |= r2.references
287 deps = deps | (keys & r2.execs) 287 deps = deps | (keys & r2.execs)
288 value = handle_contains(value, r2.contains, exclusions, d)
288 return value 289 return value
289 290
290 deps = set() 291 deps = set()