diff options
author | Eneas U de Queiroz <cote2004-github@yahoo.com> | 2019-04-25 19:23:40 +0000 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2019-04-26 15:31:34 +0200 |
commit | 17cb490ac49c7bf06f8a88b479ce9357c2f8dca3 (patch) | |
tree | c19f0790b1b364d64c1395041af1ebbaf3b2df74 /package/libs/openssl/Makefile | |
parent | c2fee615ce49332c0cbffc5daf81da2074c622f3 (diff) | |
download | upstream-17cb490ac49c7bf06f8a88b479ce9357c2f8dca3.tar.gz upstream-17cb490ac49c7bf06f8a88b479ce9357c2f8dca3.tar.bz2 upstream-17cb490ac49c7bf06f8a88b479ce9357c2f8dca3.zip |
openssl: build kmods only if engines are selected
Add a conditional to the individual package's for the kmods in DEPENDS.
This avoids the need to compile the kernel modules when the crypto
engine packages are not selected. The final binares are not affected by
this.
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
Tested-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'package/libs/openssl/Makefile')
-rw-r--r-- | package/libs/openssl/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/package/libs/openssl/Makefile b/package/libs/openssl/Makefile index 6f0b0aac5b..b16bf9854f 100644 --- a/package/libs/openssl/Makefile +++ b/package/libs/openssl/Makefile @@ -139,8 +139,8 @@ define Package/libopenssl-afalg $(call Package/openssl/Default) SUBMENU:=SSL TITLE:=AFALG hardware acceleration engine - DEPENDS:=libopenssl @OPENSSL_ENGINE @KERNEL_AIO @!LINUX_3_18 +kmod-crypto-user \ - +libopenssl-conf @!OPENSSL_ENGINE_BUILTIN + DEPENDS:=libopenssl @OPENSSL_ENGINE @KERNEL_AIO @!LINUX_3_18 \ + +PACKAGE_libopenssl-afalg:kmod-crypto-user +libopenssl-conf @!OPENSSL_ENGINE_BUILTIN endef define Package/libopenssl-afalg/description @@ -156,7 +156,7 @@ define Package/libopenssl-devcrypto $(call Package/openssl/Default) SUBMENU:=SSL TITLE:=/dev/crypto hardware acceleration engine - DEPENDS:=libopenssl @OPENSSL_ENGINE +kmod-cryptodev +libopenssl-conf \ + DEPENDS:=libopenssl @OPENSSL_ENGINE +PACKAGE_libopenssl-devcrypto:kmod-cryptodev +libopenssl-conf \ @!OPENSSL_ENGINE_BUILTIN endef @@ -173,7 +173,7 @@ define Package/libopenssl-padlock $(call Package/openssl/Default) SUBMENU:=SSL TITLE:=VIA Padlock hardware acceleration engine - DEPENDS:=libopenssl @OPENSSL_ENGINE @TARGET_x86 +kmod-crypto-hw-padlock \ + DEPENDS:=libopenssl @OPENSSL_ENGINE @TARGET_x86 +PACKAGE_libopenssl-padlock:kmod-crypto-hw-padlock \ +libopenssl-conf @!OPENSSL_ENGINE_BUILTIN endef |