2015-11-16 17:54:12 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# hidapi
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
# Use master version as the current stable is very old and some bugs
|
|
|
|
# have been fixed since then.
|
|
|
|
HIDAPI_VERSION = d17db57b9d4354752e0af42f5f33007a42ef2906
|
|
|
|
HIDAPI_SITE = $(call github,signal11,hidapi,$(HIDAPI_VERSION))
|
|
|
|
HIDAPI_INSTALL_STAGING = YES
|
|
|
|
# No configure provided, so we need to autoreconf.
|
|
|
|
HIDAPI_AUTORECONF = YES
|
|
|
|
HIDAPI_LICENSE = GPLv3 or BSD-3c or HIDAPI license
|
|
|
|
HIDAPI_LICENSE_FILES = LICENSE.txt LICENSE-gpl3.txt LICENSE-bsd.txt LICENSE-orig.txt
|
|
|
|
|
2015-12-02 12:27:06 +01:00
|
|
|
HIDAPI_DEPENDENCIES = libusb libgudev
|
2015-11-16 17:54:12 +01:00
|
|
|
|
2015-12-30 22:17:00 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
|
|
|
HIDAPI_DEPENDENCIES += libiconv
|
|
|
|
HIDAPI_CONF_ENV += LIBS="-liconv"
|
|
|
|
endif
|
|
|
|
|
2015-11-16 17:54:12 +01:00
|
|
|
$(eval $(autotools-package))
|