summaryrefslogtreecommitdiff
path: root/lib/librte_kvargs
diff options
context:
space:
mode:
authorGaetan Rivet <gaetan.rivet@6wind.com>2018-07-11 23:44:54 +0200
committerThomas Monjalon <thomas@monjalon.net>2018-07-15 23:42:16 +0200
commit092ee516496dc8183c0944280484a6e5d923c7f3 (patch)
treef1a91db724738abb3a03dc01486042af89d48efe /lib/librte_kvargs
parent12a020ea19f364388e7e0d0af6b9edee3e92dfb6 (diff)
downloaddpdk-092ee516496dc8183c0944280484a6e5d923c7f3.zip
dpdk-092ee516496dc8183c0944280484a6e5d923c7f3.tar.gz
dpdk-092ee516496dc8183c0944280484a6e5d923c7f3.tar.xz
kvargs: build before EAL
This library will be used by the EAL to parse parameters. Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
Diffstat (limited to 'lib/librte_kvargs')
-rw-r--r--lib/librte_kvargs/Makefile2
-rw-r--r--lib/librte_kvargs/meson.build3
2 files changed, 4 insertions, 1 deletions
diff --git a/lib/librte_kvargs/Makefile b/lib/librte_kvargs/Makefile
index 39d5ac3..8759395 100644
--- a/lib/librte_kvargs/Makefile
+++ b/lib/librte_kvargs/Makefile
@@ -7,7 +7,7 @@ include $(RTE_SDK)/mk/rte.vars.mk
LIB = librte_kvargs.a
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
-LDLIBS += -lrte_eal
+CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common/include
EXPORT_MAP := rte_kvargs_version.map
diff --git a/lib/librte_kvargs/meson.build b/lib/librte_kvargs/meson.build
index 0c5b9cb..0a81e8d 100644
--- a/lib/librte_kvargs/meson.build
+++ b/lib/librte_kvargs/meson.build
@@ -1,6 +1,9 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
+includes = [global_inc]
+includes += include_directories('../../../lib/librte_eal/common/include')
+
version = 1
sources = files('rte_kvargs.c')
headers = files('rte_kvargs.h')