package/easy-rsa: select the appropriate option for openssl binary
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 13 Dec 2019 15:25:45 +0000 (16:25 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 13 Dec 2019 15:36:41 +0000 (16:36 +0100)
commitef3f8ba99e9703383445e9fb0c2406d0b954c0b4
tree15d449ea57c66e608701661a050e5583643f0925
parent03a0f08720d2a8c107af06e58666d929c88ab26f
package/easy-rsa: select the appropriate option for openssl binary

Since openssl was converted to a virtual package,
BR2_PACKAGE_OPENSSL_BIN no longer exists: it was renamed to
BR2_PACKAGE_LIBOPENSSL_BIN, but easy-rsa was not changed accordingly.

easy-rsa needs to take into account the two providers of openssl, and
select the appropriate suboptions depending on which openssl
implementation was chosen.

Ideally, we would probably need a more elaborate option that ensures
easy-rsa doesn't have to know the details of which openssl
implementation is selected, but practically speaking with just two
providers of openssl at the moment, the proposed solution is good
enough.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/easy-rsa/Config.in