summaryrefslogtreecommitdiff
path: root/lib/librte_kvargs
diff options
context:
space:
mode:
authorNeil Horman <nhorman@tuxdriver.com>2015-02-02 12:40:20 -0500
committerThomas Monjalon <thomas.monjalon@6wind.com>2015-02-03 16:56:58 +0100
commit9d41beed24b01666913de301a9462b7b0d379a51 (patch)
tree51a090b64f39903ea6738b6e7e3028a95794814b /lib/librte_kvargs
parent166a743c53fa6cde255c5e0e3bb34d4a7c54d0bf (diff)
downloaddpdk-9d41beed24b01666913de301a9462b7b0d379a51.zip
dpdk-9d41beed24b01666913de301a9462b7b0d379a51.tar.gz
dpdk-9d41beed24b01666913de301a9462b7b0d379a51.tar.xz
lib: provide initial versioning
Add linker version script files to each DPDK library to put a stake in the ground from which we can start cleaning up API's Signed-off-by: Neil Horman <nhorman@tuxdriver.com> Acked-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
Diffstat (limited to 'lib/librte_kvargs')
-rw-r--r--lib/librte_kvargs/Makefile2
-rw-r--r--lib/librte_kvargs/rte_kvargs_version.map10
2 files changed, 12 insertions, 0 deletions
diff --git a/lib/librte_kvargs/Makefile b/lib/librte_kvargs/Makefile
index b09359a..b1c34f3 100644
--- a/lib/librte_kvargs/Makefile
+++ b/lib/librte_kvargs/Makefile
@@ -38,6 +38,8 @@ LIB = librte_kvargs.a
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
+EXPORT_MAP := rte_kvargs_version.map
+
# all source are stored in SRCS-y
SRCS-$(CONFIG_RTE_LIBRTE_KVARGS) := rte_kvargs.c
diff --git a/lib/librte_kvargs/rte_kvargs_version.map b/lib/librte_kvargs/rte_kvargs_version.map
new file mode 100644
index 0000000..2030ec4
--- /dev/null
+++ b/lib/librte_kvargs/rte_kvargs_version.map
@@ -0,0 +1,10 @@
+DPDK_2.0 {
+ global:
+
+ rte_kvargs_count;
+ rte_kvargs_free;
+ rte_kvargs_parse;
+ rte_kvargs_process;
+
+ local: *;
+};