numam-dpdk/mk
Bruce Richardson f26c2b39b2 build: fix soname info for 19.11 compatibility
The soname for each stable ABI version should be just the ABI version major
number without the minor number. Unfortunately both major and minor were
used causing version 20.1 to be incompatible with 20.0.

This patch fixes the issue by switching from 2-part to 3-part ABI version
numbers so that we can keep 20.0 as soname and using the final digits to
identify the 20.x releases which are ABI compatible. This requires changes
to both make and meson builds to handle the three-digit version and shrink
it to 2-digit for soname.

The final fix needed in this patch is to adjust the library version number
for the ethtool example library, which needs to be upped to 2-digits, as
external libraries using the DPDK build system also use the logic in this
file.

Fixes: cba806e07d ("build: change ABI versioning to global")

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Tested-by: Ray Kinsella <mdr@ashroe.eu>
Tested-by: Ferruh Yigit <ferruh.yigit@intel.com>
Tested-by: Kevin Laatz <kevin.laatz@intel.com>
Tested-by: David Marchand <david.marchand@redhat.com>
2019-12-19 16:18:21 +01:00
..
arch replace license text with SPDX tag on PPC files 2019-08-05 17:17:09 +02:00
exec-env eal: add OS specific header file 2019-04-03 01:11:56 +02:00
internal mk: use EXTRA_CFLAGS for pmdinfogen 2018-10-25 00:02:00 +02:00
machine config: add eMAG 2019-11-21 00:30:39 +01:00
target/generic build: support building ABI versioned files twice 2019-10-27 12:49:28 +01:00
toolchain mk: disable OCTEON TX2 on old compilers 2019-11-08 16:40:29 +01:00
rte.app.mk mk: remove library search path from binary 2019-11-25 23:51:52 +01:00
rte.bsdmodule.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.combinedlib.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.cpuflags.mk eal/x86: check rdrand and rdseed 2019-06-04 00:23:04 +02:00
rte.extapp.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.extlib.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.extobj.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.extshared.mk use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
rte.extsubdir.mk use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
rte.gnuconfigure.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.helper.mk mk: introduce helper to check compiler argument 2019-04-15 22:55:56 +02:00
rte.hostapp.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.hostlib.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.install.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.lib.mk build: fix soname info for 19.11 compatibility 2019-12-19 16:18:21 +01:00
rte.module.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.obj.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.sdkbuild.mk test: move to app directory 2019-02-26 15:29:27 +01:00
rte.sdkconfig.mk build: use version number from config file 2019-03-27 09:43:47 +01:00
rte.sdkdepdirs.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.sdkdoc.mk doc: add search engine for API 2019-07-08 22:13:20 +02:00
rte.sdkexamples.mk use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
rte.sdkgcov.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.sdkinstall.mk mk: fix custom kernel directory name 2019-07-22 10:00:01 +02:00
rte.sdkroot.mk mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
rte.sdktest.mk test: move to app directory 2019-02-26 15:29:27 +01:00
rte.shared.mk use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
rte.subdir.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.vars.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00