initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
config BR2_PACKAGE_CCID
|
||||
bool "ccid"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
||||
depends on BR2_USE_MMU # pcsc-lite
|
||||
depends on !BR2_STATIC_LIBS # pcsc-lite
|
||||
select BR2_PACKAGE_PCSC_LITE
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
help
|
||||
PC/SC driver for USB CCID smart card readers
|
||||
|
||||
https://ccid.apdu.fr/
|
||||
|
||||
comment "ccid needs a toolchain w/ threads, dynamic library, gcc >= 4.9"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 e6f7645b59a9a2844eb4b1a7eff512960d7f04a4654af02f7fd2f8aded5db40a ccid-1.4.34.tar.bz2
|
||||
sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING
|
||||
@@ -0,0 +1,26 @@
|
||||
################################################################################
|
||||
#
|
||||
# ccid
|
||||
#
|
||||
################################################################################
|
||||
|
||||
CCID_VERSION = 1.4.34
|
||||
CCID_SOURCE = ccid-$(CCID_VERSION).tar.bz2
|
||||
CCID_SITE = https://ccid.apdu.fr/files
|
||||
CCID_LICENSE = LGPL-2.1+
|
||||
CCID_LICENSE_FILES = COPYING
|
||||
CCID_INSTALL_STAGING = YES
|
||||
CCID_DEPENDENCIES = pcsc-lite host-pkgconf libusb
|
||||
CCID_CONF_OPTS = --enable-usbdropdir=/usr/lib/pcsc/drivers
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
||||
define CCID_INSTALL_UDEV_RULES
|
||||
if test -d $(TARGET_DIR)/etc/udev/rules.d ; then \
|
||||
cp $(@D)/src/92_pcscd_ccid.rules $(TARGET_DIR)/etc/udev/rules.d/ ; \
|
||||
fi;
|
||||
endef
|
||||
|
||||
CCID_POST_INSTALL_TARGET_HOOKS += CCID_INSTALL_UDEV_RULES
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user