diff options
| author | Joshua Watt <JPEWhacker@gmail.com> | 2025-08-05 11:15:23 -0600 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-08-12 10:05:11 +0100 |
| commit | a0c4688a356b3aeed3662a4b033da16978bb4461 (patch) | |
| tree | 594a60d7ce2655f6080683db225415362a2120dd /bitbake/lib/bb/utils.py | |
| parent | c69a1aed4a8bf23161c9043765a46daa80320354 (diff) | |
| download | poky-a0c4688a356b3aeed3662a4b033da16978bb4461.tar.gz | |
bitbake: Add bb.utils.explode_deps as a filter function
Marks bb.utils.explode_deps as callable from filter functions
(Bitbake rev: bb07003641e76de994482f7835a432f20297af96)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/utils.py')
| -rw-r--r-- | bitbake/lib/bb/utils.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py index 0cf3b1814c..366836bfc9 100644 --- a/bitbake/lib/bb/utils.py +++ b/bitbake/lib/bb/utils.py | |||
| @@ -34,6 +34,7 @@ from contextlib import contextmanager | |||
| 34 | from ctypes import cdll | 34 | from ctypes import cdll |
| 35 | import bb | 35 | import bb |
| 36 | import bb.msg | 36 | import bb.msg |
| 37 | import bb.filter | ||
| 37 | 38 | ||
| 38 | logger = logging.getLogger("BitBake.Util") | 39 | logger = logging.getLogger("BitBake.Util") |
| 39 | python_extensions = importlib.machinery.all_suffixes() | 40 | python_extensions = importlib.machinery.all_suffixes() |
| @@ -184,6 +185,7 @@ def vercmp_string_op(a, b, op): | |||
| 184 | else: | 185 | else: |
| 185 | raise VersionStringException('Unsupported comparison operator "%s"' % op) | 186 | raise VersionStringException('Unsupported comparison operator "%s"' % op) |
| 186 | 187 | ||
| 188 | @bb.filter.filter_proc(name="bb.utils.explode_deps") | ||
| 187 | def explode_deps(s): | 189 | def explode_deps(s): |
| 188 | """ | 190 | """ |
| 189 | Takes an RDEPENDS style string of format:: | 191 | Takes an RDEPENDS style string of format:: |
