numam-dpdk/config
Christian Ehrhardt 630f6ec11e mk: provide option to set major ABI version
Downstreams might want to provide different DPDK releases at the same
time to support multiple consumers of DPDK linked against older and newer
sonames.

Also due to the interdependencies that DPDK libraries can have applications
might end up with an executable space in which multiple versions of a
library are mapped by ld.so.

Think of LibA that got an ABI bump and LibB that did not get an ABI bump
but is depending on LibA.

    Application
    \-> LibA.old
    \-> LibB.new -> LibA.new

That is a conflict which can be avoided by setting CONFIG_RTE_MAJOR_ABI.
If set CONFIG_RTE_MAJOR_ABI overwrites any LIBABIVER value.
An example might be ``CONFIG_RTE_MAJOR_ABI=16.11`` which will make all
libraries librte<?>.so.16.11 instead of librte<?>.so.<LIBABIVER>.

We need to cut arbitrary long stings after the .so now and this would work
for any ABI version in LIBABIVER:
  $(Q)ln -s -f $< $(patsubst %.$(LIBABIVER),%,$@)
But using the following instead additionally allows to simplify the Make
File for the CONFIG_RTE_NEXT_ABI case.
  $(Q)ln -s -f $< $(shell echo $@ | sed 's/\.so.*/.so/')

Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Reviewed-by: Jan Blunck <jblunck@infradead.org>
Tested-by: Jan Blunck <jblunck@infradead.org>
2017-03-16 18:20:01 +01:00
..
common_base mk: provide option to set major ABI version 2017-03-16 18:20:01 +01:00
common_bsdapp config: remove EAL flags for OS environment 2016-03-05 11:09:31 +01:00
common_linuxapp config: disable KNI ethtool by default 2017-01-29 22:37:23 +01:00
defconfig_arm64-armv8a-linuxapp-gcc net/sfc: libefx-based driver stub 2017-01-17 19:39:25 +01:00
defconfig_arm64-dpaa2-linuxapp-gcc mk: introduce NXP dpaa2 architecture based on armv8-a 2016-05-18 16:28:45 +02:00
defconfig_arm64-thunderx-linuxapp-gcc net/thunderx: add PMD skeleton 2016-06-20 17:21:54 +02:00
defconfig_arm64-xgene1-linuxapp-gcc config: use armv8a as base for arm64 targets 2015-12-02 23:22:09 +01:00
defconfig_arm-armv7a-linuxapp-gcc remove unmaintained TILE-Gx architecture 2017-03-15 11:40:57 +01:00
defconfig_i686-native-linuxapp-gcc net/sfc: libefx-based driver stub 2017-01-17 19:39:25 +01:00
defconfig_i686-native-linuxapp-icc net/sfc: libefx-based driver stub 2017-01-17 19:39:25 +01:00
defconfig_ppc_64-power8-linuxapp-gcc net/sfc: libefx-based driver stub 2017-01-17 19:39:25 +01:00
defconfig_x86_64-native-bsdapp-clang config: fix missing 64-bit flag on FreeBSD 2016-03-04 23:46:54 +01:00
defconfig_x86_64-native-bsdapp-gcc config: fix missing 64-bit flag on FreeBSD 2016-03-04 23:46:54 +01:00
defconfig_x86_64-native-linuxapp-clang config: add a common x86 flag 2016-02-11 12:45:31 +01:00
defconfig_x86_64-native-linuxapp-gcc config: add a common x86 flag 2016-02-11 12:45:31 +01:00
defconfig_x86_64-native-linuxapp-icc net/sfc: libefx-based driver stub 2017-01-17 19:39:25 +01:00
defconfig_x86_x32-native-linuxapp-gcc net/sfc: libefx-based driver stub 2017-01-17 19:39:25 +01:00