initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
config BR2_PACKAGE_PCSC_LITE
|
||||
bool "pcsc-lite"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on !BR2_STATIC_LIBS
|
||||
help
|
||||
Middleware to access smart card using SCard API (PC/SC).
|
||||
|
||||
https://muscle.apdu.fr/
|
||||
|
||||
if BR2_PACKAGE_PCSC_LITE
|
||||
|
||||
config BR2_PACKAGE_PCSC_LITE_FORCE_LIBUSB
|
||||
bool "use libusb"
|
||||
depends on !BR2_PACKAGE_HAS_UDEV
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
help
|
||||
Select Y if you want to support usb smart card readers.
|
||||
|
||||
comment "libusb support needs a toolchain w/ gcc >= 4.9"
|
||||
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
|
||||
config BR2_PACKAGE_PCSC_LITE_DEBUGATR
|
||||
bool "enable ATR debug messages"
|
||||
help
|
||||
Enable ATR debug messages from pcscd.
|
||||
|
||||
config BR2_PACKAGE_PCSC_LITE_EMBEDDED
|
||||
bool "enable embedded mode"
|
||||
help
|
||||
Limit RAM and CPU resources by disabling logs.
|
||||
|
||||
endif
|
||||
|
||||
comment "pcsc-lite needs a toolchain w/ threads, dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
||||
@@ -0,0 +1,4 @@
|
||||
# Locally calculated
|
||||
sha256 8a8caac227e0a266015298dda663e81576a0d11d698685101e6aa6c9fdb51c4b pcsc-lite-1.9.4.tar.bz2
|
||||
sha256 40d4358bb8dc8d30f5365ae6d999b6f820bbc051b292912482f2e4d0ebd837e1 COPYING
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 GPL-3.0.txt
|
||||
@@ -0,0 +1,47 @@
|
||||
################################################################################
|
||||
#
|
||||
# pcsc-lite
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PCSC_LITE_VERSION = 1.9.4
|
||||
PCSC_LITE_SOURCE = pcsc-lite-$(PCSC_LITE_VERSION).tar.bz2
|
||||
PCSC_LITE_SITE = https://pcsclite.apdu.fr/files
|
||||
PCSC_LITE_INSTALL_STAGING = YES
|
||||
PCSC_LITE_DEPENDENCIES = host-pkgconf
|
||||
PCSC_LITE_LICENSE = BSD-2-Clause (auth), BSD-3-Clause, GPL-3.0+ (demo, spy, tests), ISC (simclist)
|
||||
PCSC_LITE_LICENSE_FILES = COPYING GPL-3.0.txt
|
||||
PCSC_LITE_SELINUX_MODULES = pcscd
|
||||
|
||||
# - libudev and libusb are optional
|
||||
# - libudev and libusb can't be used together
|
||||
# - libudev has a priority over libusb
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
||||
PCSC_LITE_CONF_OPTS += --enable-libudev --disable-libusb
|
||||
PCSC_LITE_DEPENDENCIES += udev
|
||||
else
|
||||
ifeq ($(BR2_PACKAGE_LIBUSB),y)
|
||||
PCSC_LITE_CONF_OPTS += --enable-libusb --disable-libudev
|
||||
PCSC_LITE_DEPENDENCIES += libusb
|
||||
else
|
||||
PCSC_LITE_CONF_OPTS += --disable-libusb --disable-libudev
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
||||
PCSC_LITE_CONF_OPTS += --enable-libsystemd
|
||||
PCSC_LITE_DEPENDENCIES += systemd
|
||||
else
|
||||
PCSC_LITE_CONF_OPTS += --disable-libsystemd
|
||||
endif
|
||||
|
||||
ifeq ($(PACKAGE_PCSC_LITE_DEBUGATR),y)
|
||||
PCSC_LITE_CONF_OPTS += --enable-debugatr
|
||||
endif
|
||||
|
||||
ifeq ($(PACKAGE_PCSC_LITE_EMBEDDED),y)
|
||||
PCSC_LITE_CONF_OPTS += --enable-embedded
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user