mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-06-11 00:32:05 +08:00
openssl multiple threads optimization
This commit is contained in:
parent
7b87478da4
commit
e3656a3e9a
@ -50,6 +50,12 @@ config OPENSSL_ENGINE_DIGEST
|
|||||||
depends on OPENSSL_ENGINE_CRYPTO
|
depends on OPENSSL_ENGINE_CRYPTO
|
||||||
prompt "Digests acceleration support"
|
prompt "Digests acceleration support"
|
||||||
|
|
||||||
|
config OPENSSL_THREADS
|
||||||
|
bool
|
||||||
|
prompt "Threading support"
|
||||||
|
default y
|
||||||
|
select PACKAGE_libpthread
|
||||||
|
|
||||||
config OPENSSL_HARDWARE_SUPPORT
|
config OPENSSL_HARDWARE_SUPPORT
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
@ -35,6 +35,7 @@ PKG_CONFIG_DEPENDS:= \
|
|||||||
CONFIG_OPENSSL_WITH_EC2M \
|
CONFIG_OPENSSL_WITH_EC2M \
|
||||||
CONFIG_OPENSSL_WITH_SSL3 \
|
CONFIG_OPENSSL_WITH_SSL3 \
|
||||||
CONFIG_OPENSSL_HARDWARE_SUPPORT \
|
CONFIG_OPENSSL_HARDWARE_SUPPORT \
|
||||||
|
CONFIG_OPENSSL_THREADS \
|
||||||
CONFIG_OPENSSL_WITH_DEPRECATED \
|
CONFIG_OPENSSL_WITH_DEPRECATED \
|
||||||
CONFIG_OPENSSL_WITH_DTLS \
|
CONFIG_OPENSSL_WITH_DTLS \
|
||||||
CONFIG_OPENSSL_WITH_COMPRESSION \
|
CONFIG_OPENSSL_WITH_COMPRESSION \
|
||||||
@ -128,6 +129,12 @@ ifndef CONFIG_OPENSSL_HARDWARE_SUPPORT
|
|||||||
OPENSSL_OPTIONS += no-hw
|
OPENSSL_OPTIONS += no-hw
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifdef CONFIG_OPENSSL_THREADS
|
||||||
|
OPENSSL_OPTIONS += threads
|
||||||
|
else
|
||||||
|
OPENSSL_OPTIONS += no-threads
|
||||||
|
endif
|
||||||
|
|
||||||
ifndef CONFIG_OPENSSL_WITH_DEPRECATED
|
ifndef CONFIG_OPENSSL_WITH_DEPRECATED
|
||||||
OPENSSL_OPTIONS += no-deprecated
|
OPENSSL_OPTIONS += no-deprecated
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user