path: root/config
diff options
authorChristian Ehrhardt <>2017-03-01 10:34:12 +0100
committerThomas Monjalon <>2017-03-16 18:20:01 +0100
commit630f6ec11ea2354b0765331b09589740a222ff32 (patch)
tree0161e18f4455107b5dc64e7ade9651953bf8d0a6 /config
parentd89a5bce1d20068035da613c455d1612c20eec5e (diff)
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 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 \-> -> 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 <> Reviewed-by: Jan Blunck <> Tested-by: Jan Blunck <>
Diffstat (limited to 'config')
1 files changed, 5 insertions, 0 deletions
diff --git a/config/common_base b/config/common_base
index aeee13e..37aa1e1 100644
--- a/config/common_base
+++ b/config/common_base
@@ -75,6 +75,11 @@ CONFIG_RTE_BUILD_SHARED_LIB=n
+# Major ABI to overwrite library specific LIBABIVER
# Machine's cache line size