1config BR2_PACKAGE_PYTHON_HID
2	bool "python-hid"
3	depends on BR2_PACKAGE_HAS_UDEV # hidapi
4	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # hidapi
5	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # hidapi
6	select BR2_PACKAGE_HIDAPI
7	help
8	  ctypes bindings for hidapi.
9
10	  https://github.com/apmorton/pyhidapi
11
12comment "python-hid needs udev /dev management and a toolchain w/ NPTL, gcc >= 4.9"
13	depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
14		!BR2_PACKAGE_HAS_UDEV || \
15		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
16