package/opensc: openssl is optional, not mandatory
openssl is optional, not mandatory since the addition of the package in
commit 8aaa7ecbce
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
parent
ae6579d345
commit
b097ed3a4b
@ -5,7 +5,6 @@ config BR2_PACKAGE_OPENSC
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # pcsc-lite
|
||||
select BR2_PACKAGE_PCSC_LITE
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
|
||||
select BR2_PACKAGE_LIBOPENSSL_ENABLE_RMD160 if BR2_PACKAGE_LIBOPENSSL
|
||||
help
|
||||
|
@ -9,8 +9,15 @@ OPENSC_SITE = https://github.com/OpenSC/OpenSC/releases/download/$(OPENSC_VERSIO
|
||||
OPENSC_LICENSE = LGPL-2.1+
|
||||
OPENSC_LICENSE_FILES = COPYING
|
||||
OPENSC_CPE_ID_VALID = YES
|
||||
OPENSC_DEPENDENCIES = openssl pcsc-lite
|
||||
OPENSC_DEPENDENCIES = pcsc-lite
|
||||
OPENSC_INSTALL_STAGING = YES
|
||||
OPENSC_CONF_OPTS = --disable-cmocka --disable-strict --disable-tests
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
OPENSC_DEPENDENCIES += openssl
|
||||
OPENSC_CONF_OPTS += --enable-openssl
|
||||
else
|
||||
OPENSC_CONF_OPTS += --disable-openssl
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
Loading…
Reference in New Issue
Block a user