aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/mbedtls/Makefile
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-01-17 17:24:31 +0100
committerJo-Philipp Wich <jo@mein.io>2019-01-19 14:31:51 +0100
commit797e5c1c48e6a5b8866504ea42bd7298c63ad3d5 (patch)
treec56a945318b29112a49af64da09f4c59a77b0494 /package/libs/mbedtls/Makefile
parent1bd18f2b5cbf1c9c384e9725eff7804decf88c90 (diff)
downloadupstream-797e5c1c48e6a5b8866504ea42bd7298c63ad3d5.tar.gz
upstream-797e5c1c48e6a5b8866504ea42bd7298c63ad3d5.tar.bz2
upstream-797e5c1c48e6a5b8866504ea42bd7298c63ad3d5.zip
packages: set more explicit ABI_VERSION values
In the case of upstream libraries, set the ABI_VERSION variable to the soname value of the first version version after the last backwards incompatible change. For custom OpenWrt libraries, set the ABI_VERSION to the date of the last Git commit doing backwards incompatible changes to the source, such as changing function singatures or dropping exported symbols. The soname values have been determined by either checking https://abi-laboratory.pro/index.php?view=tracker or - in the case of OpenWrt libraries - by carefully reviewing the changes made to header files thorough the corresponding Git history. In the future, the ABI_VERSION values must be bumped whenever the library is updated to an incpompatible version but not with every package update, in order to reduce the dependency churn in the binary package repository. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'package/libs/mbedtls/Makefile')
-rw-r--r--package/libs/mbedtls/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/libs/mbedtls/Makefile b/package/libs/mbedtls/Makefile
index e265cac575..ce513e59b0 100644
--- a/package/libs/mbedtls/Makefile
+++ b/package/libs/mbedtls/Makefile
@@ -39,7 +39,7 @@ $(call Package/mbedtls/Default)
CATEGORY:=Libraries
SUBMENU:=SSL
TITLE+= (library)
- ABI_VERSION:=$(PKG_VERSION)-$(PKG_RELEASE)
+ ABI_VERSION:=12
endef
define Package/mbedtls-util