mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-01 01:13:29 +08:00
9f59b378a3
We want to use SPDX identifier for license string as much as possible. SPDX short identifier for BSD-3c is BSD-3-Clause. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/BSD-3c/BSD-3-Clause/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
25 lines
819 B
Makefile
25 lines
819 B
Makefile
################################################################################
|
|
#
|
|
# hidapi
|
|
#
|
|
################################################################################
|
|
|
|
# Use master version as the current stable is very old and some bugs
|
|
# have been fixed since then.
|
|
HIDAPI_VERSION = b5b2e1779b6cd2edda3066bbbf0921a2d6b1c3c0
|
|
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 = GPL-3.0 or BSD-3-Clause or HIDAPI license
|
|
HIDAPI_LICENSE_FILES = LICENSE.txt LICENSE-gpl3.txt LICENSE-bsd.txt LICENSE-orig.txt
|
|
|
|
HIDAPI_DEPENDENCIES = libusb libgudev
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
|
HIDAPI_DEPENDENCIES += libiconv
|
|
HIDAPI_CONF_ENV += LIBS="-liconv"
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|