openssl: build kmods only if engines are selected
authorEneas U de Queiroz <cote2004-github@yahoo.com>
Thu, 25 Apr 2019 19:23:40 +0000 (19:23 +0000)
committerHans Dedecker <dedeckeh@gmail.com>
Fri, 26 Apr 2019 13:31:34 +0000 (15:31 +0200)
commit17cb490ac49c7bf06f8a88b479ce9357c2f8dca3
treec19f0790b1b364d64c1395041af1ebbaf3b2df74
parentc2fee615ce49332c0cbffc5daf81da2074c622f3
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>
package/libs/openssl/Makefile