initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
config BR2_PACKAGE_LIBPHIDGET
|
||||
bool "libphidget"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
||||
depends on !BR2_STATIC_LIBS
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
help
|
||||
The libphidget library provides an API for controlling
|
||||
Phidgets USB devices. The library translates API function
|
||||
calls to libusb function calls to control attached Phidgets
|
||||
devices that provide GPIO's, DAC's, accelerometers, servo
|
||||
motors, and other capabilities either singly or on combo
|
||||
devices.
|
||||
|
||||
To use libphidget for controlling locally attached devices you
|
||||
need to set up the userspace USB device tree /dev/bus/usb. See
|
||||
file udev/99-phidgets.rules.
|
||||
|
||||
The libphidget library also contains an API for sending
|
||||
commands to a local or remote phidgetwebservice using HTTP.
|
||||
The phidgetwebservice then translates HTTP requests to
|
||||
libphidget API function calls to control locally attached
|
||||
Phidgets devices.
|
||||
|
||||
http://phidgets.com/
|
||||
|
||||
comment "libphidget needs a toolchain w/ threads, dynamic library, gcc >= 4.9"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
@@ -0,0 +1,3 @@
|
||||
# locally computed
|
||||
sha256 0e789912700228808519cf5c41e19f9b761da635c6bb676b147897936b23851f libphidget_2.1.9.20190409.tar.gz
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING
|
||||
@@ -0,0 +1,16 @@
|
||||
################################################################################
|
||||
#
|
||||
# libphidget
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBPHIDGET_VERSION = 2.1.9.20190409
|
||||
LIBPHIDGET_SOURCE = libphidget_$(LIBPHIDGET_VERSION).tar.gz
|
||||
LIBPHIDGET_SITE = https://www.phidgets.com/downloads/phidget21/libraries/linux/libphidget
|
||||
LIBPHIDGET_DEPENDENCIES = libusb
|
||||
LIBPHIDGET_CONF_OPTS = --disable-ldconfig
|
||||
LIBPHIDGET_INSTALL_STAGING = YES
|
||||
LIBPHIDGET_LICENSE = LGPL-3.0
|
||||
LIBPHIDGET_LICENSE_FILES = COPYING
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user