Files
buildroot/package/python-hid/Config.in
Thomas Petazzoni 04496503c5 package/hidapi: propagate dependencies of libgudev
Since hidapi was introduced in commit
6267f34afd, it forgot to propagate some
dependencies of libgudev (which existed back then). Initially libgudev
was only needed when BR2_INIT_SYSTEMD=y, but still the dependencies
were not propagated for the systemd case.

Anyway, since e739dd5a11, libgudev is a
mandatory dependency of hidapi, independently from the selected init
system.

We make sure to propagate all dependencies of libgudev to hidapi, and
propagate them to the reverse dependencies of hidapi.

Fixes: 6267f34afd ("hidapi: new package")
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 74def2cdd4)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2026-09-16 12:06:11 +02:00

20 lines
618 B
Plaintext

config BR2_PACKAGE_PYTHON_HID
bool "python-hid"
depends on BR2_PACKAGE_HAS_UDEV # hidapi
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # hidapi
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # hidapi
depends on BR2_USE_MMU # hidapi
depends on BR2_USE_WCHAR # hidapi
select BR2_PACKAGE_HIDAPI
help
ctypes bindings for hidapi.
https://github.com/apmorton/pyhidapi
comment "python-hid needs udev /dev management and a toolchain w/ NPTL, gcc >= 4.9, wchar"
depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
!BR2_PACKAGE_HAS_UDEV || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
!BR2_USE_WCHAR