wolfssl: prefer regular libwolfssl over cpu-crypto
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Fri, 23 Sep 2022 11:43:59 +0000 (08:43 -0300)
committerChristian Marangi <ansuelsmth@gmail.com>
Sun, 25 Sep 2022 13:19:10 +0000 (15:19 +0200)
commitd08c9da43cf364712e947d5faa3ab84d995dd0ec
tree99234f464a94b294e421e931f42f44f4b7905398
parent50d0b41b38440fa5c6b87bebc229296667851b26
wolfssl: prefer regular libwolfssl over cpu-crypto

Rename libwolfssl-cpu-crypto to libwolfsslcpu-crypto so that the
regular libwolfssl version comes first when running:
opkg install libwolfssl

Normally, if the package name matches the opkg parameter, that package
is preferred.  However, for libraries, the ABI version string is
appended to the package official name, and the short name won't match.
Failing a name match, the candidate packages are sorted in alphabetical
order, and a dash will come before any number.  So in order to prefer
the original library, the dash should be removed from the alternative
library.

Fixes: c3e7d86d2b (wolfssl: add libwolfssl-cpu-crypto package)
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
package/libs/wolfssl/Config.in
package/libs/wolfssl/Makefile
package/libs/wolfssl/preinst.arm-ce