1config BR2_PACKAGE_OPENSC 2 bool "opensc" 3 depends on !BR2_STATIC_LIBS 4 depends on BR2_TOOLCHAIN_HAS_THREADS 5 depends on BR2_USE_MMU # fork() 6 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # pcsc-lite 7 select BR2_PACKAGE_PCSC_LITE 8 select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL 9 select BR2_PACKAGE_LIBOPENSSL_ENABLE_RMD160 if BR2_PACKAGE_LIBOPENSSL 10 help 11 OpenSC provides a set of libraries and utilities to work 12 with smart cards. 13 14 https://github.com/OpenSC/OpenSC/wiki 15 16comment "opensc needs a toolchain with dynamic library, threads, gcc >= 4.9" 17 depends on BR2_USE_MMU 18 depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \ 19 !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 20