summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorOlivier Matz <olivier.matz@6wind.com>2014-01-28 17:06:34 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2014-02-04 15:39:39 +0100
commitf3fbc009a61707977071633aab01571416fdf859 (patch)
tree2bf4b0846ed448e528853b662aaba4038712625c /mk
parent0010a18941d1a104fe11f90b04b96a63acf1e5c2 (diff)
downloaddpdk-f3fbc009a61707977071633aab01571416fdf859.zip
dpdk-f3fbc009a61707977071633aab01571416fdf859.tar.gz
dpdk-f3fbc009a61707977071633aab01571416fdf859.tar.xz
kvargs: add a new library to parse key/value arguments
Copy the code from rte_eth_pcap_arg_parser.[ch], without any functional modifications, only: - rename functions and structure - restyle (indentation) - add comments (doxygen style) - add "const" or "static" attributes, remove unneeded "inline" Signed-off-by: Olivier Matz <olivier.matz@6wind.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Diffstat (limited to 'mk')
-rw-r--r--mk/rte.app.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/rte.app.mk b/mk/rte.app.mk
index 786100c..1652029 100644
--- a/mk/rte.app.mk
+++ b/mk/rte.app.mk
@@ -112,6 +112,10 @@ endif
LDLIBS += --start-group
+ifeq ($(CONFIG_RTE_LIBRTE_KVARGS),y)
+LDLIBS += -lrte_kvargs
+endif
+
ifeq ($(CONFIG_RTE_LIBRTE_MBUF),y)
LDLIBS += -lrte_mbuf
endif