9d6ab1244a
Some protocol decoders in libsigrokdecode need the zlib module:
srd: ModuleNotFoundError: Failed to load decoder usb_power_delivery: import by name failed: No module named 'zlib'
srd: Traceback (most recent call last):
File "/usr/share/libsigrokdecode/decoders/usb_power_delivery/__init__.py", line 24, in <module>
from .pd import *
File "/usr/share/libsigrokdecode/decoders/usb_power_delivery/pd.py", line 24, in <module>
import zlib # for crc32
^^^^^^^^^^^
ModuleNotFoundError: No module named 'zlib'
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
23 lines
845 B
Plaintext
23 lines
845 B
Plaintext
config BR2_PACKAGE_LIBSIGROKDECODE
|
|
bool "libsigrokdecode"
|
|
depends on BR2_USE_WCHAR # libglib2/python3
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2/python3
|
|
depends on BR2_USE_MMU # libglib2/python3
|
|
depends on !BR2_STATIC_LIBS # python3
|
|
select BR2_PACKAGE_LIBGLIB2
|
|
select BR2_PACKAGE_PYTHON3
|
|
select BR2_PACKAGE_PYTHON3_ZLIB # runtime
|
|
help
|
|
Libsigrokdecode is a shared library written in C, which
|
|
provides (streaming) protocol decoding functionality. Say
|
|
yes here if you want to add this functionality to your
|
|
buildroot-generated sigrok suite.
|
|
|
|
This library is a part of the sigrok software suite.
|
|
|
|
http://sigrok.org/wiki/Libsigrokdecode
|
|
|
|
comment "libsigrokdecode needs a toolchain w/ wchar, threads, dynamic library"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|