mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
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>
This commit is contained in:
parent
c69a1aed4a
commit
a0c4688a35
|
|
@ -34,6 +34,7 @@ from contextlib import contextmanager
|
|||
from ctypes import cdll
|
||||
import bb
|
||||
import bb.msg
|
||||
import bb.filter
|
||||
|
||||
logger = logging.getLogger("BitBake.Util")
|
||||
python_extensions = importlib.machinery.all_suffixes()
|
||||
|
|
@ -184,6 +185,7 @@ def vercmp_string_op(a, b, op):
|
|||
else:
|
||||
raise VersionStringException('Unsupported comparison operator "%s"' % op)
|
||||
|
||||
@bb.filter.filter_proc(name="bb.utils.explode_deps")
|
||||
def explode_deps(s):
|
||||
"""
|
||||
Takes an RDEPENDS style string of format::
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user