wolfssl: ABI version shouldn't depend on benchmark
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Fri, 23 Sep 2022 11:26:51 +0000 (08:26 -0300)
committerChristian Marangi <ansuelsmth@gmail.com>
Sun, 25 Sep 2022 13:19:07 +0000 (15:19 +0200)
Move CONFIG_PACKAGE_libwolfssl-benchmark from the top of
PKG_CONFIG_DEPENDS to after PKG_ABI_VERSION is set.

This avoids changing the ABI version hash whether the bnechmark package
package is selected or not.

Fixes: 05df135cac (wolfssl: Rebuild when libwolfssl-benchmark gets changes)
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
package/libs/wolfssl/Makefile

index def3f657c18ba6ab5bcd175c3610de3723eb8516..71379736f0f66513ceed727f5d2a77d04665ae94 100644 (file)
@@ -25,7 +25,6 @@ PKG_MAINTAINER:=Eneas U de Queiroz <cotequeiroz@gmail.com>
 PKG_CPE_ID:=cpe:/a:wolfssl:wolfssl
 
 PKG_CONFIG_DEPENDS:=\
-       CONFIG_PACKAGE_libwolfssl-benchmark \
        CONFIG_WOLFSSL_HAS_AES_CCM \
        CONFIG_WOLFSSL_HAS_ARC4 \
        CONFIG_WOLFSSL_HAS_CERTGEN \
@@ -44,6 +43,7 @@ PKG_CONFIG_DEPENDS:=\
 PKG_ABI_VERSION:=$(patsubst %-stable,%,$(PKG_VERSION)).$(call version_abbrev,$(call confvar,$(PKG_CONFIG_DEPENDS)))
 
 PKG_CONFIG_DEPENDS+=\
+       CONFIG_PACKAGE_libwolfssl-benchmark \
        CONFIG_WOLFSSL_HAS_AFALG \
        CONFIG_WOLFSSL_HAS_DEVCRYPTO_AES \
        CONFIG_WOLFSSL_HAS_DEVCRYPTO_CBC \