xref: /OK3568_Linux_fs/buildroot/package/libphidget/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_LIBPHIDGET
2	bool "libphidget"
3	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
4	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
5	depends on !BR2_STATIC_LIBS
6	select BR2_PACKAGE_LIBUSB
7	help
8	  The libphidget library provides an API for controlling
9	  Phidgets USB devices. The library translates API function
10	  calls to libusb function calls to control attached Phidgets
11	  devices that provide GPIO's, DAC's, accelerometers, servo
12	  motors, and other capabilities either singly or on combo
13	  devices.
14
15	  To use libphidget for controlling locally attached devices you
16	  need to set up the userspace USB device tree /dev/bus/usb. See
17	  file udev/99-phidgets.rules.
18
19	  The libphidget library also contains an API for sending
20	  commands to a local or remote phidgetwebservice using HTTP.
21	  The phidgetwebservice then translates HTTP requests to
22	  libphidget API function calls to control locally attached
23	  Phidgets devices.
24
25	  http://phidgets.com/
26
27comment "libphidget needs a toolchain w/ threads, dynamic library, gcc >= 4.9"
28	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
29		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
30