From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gaetan.rivet@6wind.com>
Received: from mail-wr0-f171.google.com (mail-wr0-f171.google.com
 [209.85.128.171]) by dpdk.org (Postfix) with ESMTP id D6B2C1BDE8
 for <dev@dpdk.org>; Tue, 26 Jun 2018 18:56:49 +0200 (CEST)
Received: by mail-wr0-f171.google.com with SMTP id a12-v6so17991710wro.1
 for <dev@dpdk.org>; Tue, 26 Jun 2018 09:56:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=6wind-com.20150623.gappssmtp.com; s=20150623;
 h=from:to:cc:subject:date:message-id:in-reply-to:references
 :in-reply-to:references;
 bh=Sxhmophs5PVz/xsld34wfEMmtmHs37kn7M6i/VqwFqg=;
 b=0apWkXi70gu686sapQru4h0bGiB87dxk8TpeNvezDS0g5H2fGnFTK03pbz82OaBy6U
 Xbl9eZ/8NZ5czTE20YRsmOVzzuUnIIX8qnqy+6OYKbZ62QL68zyDxyRcZ2jgKp9k4g9o
 UsIvRu5niDK2kesFr09y8cev/YpTkbz9itabd5PlMxUoKqkP21EzxzHHs6O+fturjq/N
 +eHCI+SuZ3x22REElfZMhC5n6Wx8qV9zgei4mUwhFESPimbZjQWw220xHnbqmwmwr4KI
 dEiakaH1RGCEK5Rkm0v+dZ1cneX6SNHBx/oKs06B3zlpwsTSnXLwlBwvRrVfmg/VIQIL
 LLCw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to
 :references:in-reply-to:references;
 bh=Sxhmophs5PVz/xsld34wfEMmtmHs37kn7M6i/VqwFqg=;
 b=CBvwsslQ4Dysw7hcA5yWZmtHRtbaIcLMMP5RgFv78YO+MSkNuUL+0U7+f6RAOJpUnF
 SIFQy1TXfknZI9sxdNzOpqR2AiPV5ei3Dcz8HuLCYh999KH9FnCFpEIe28JybOdi9rUe
 g4+PS9Zkbpnht/WuEPOO24N2EriF0sfADEMxeXYePouBRQhQJ/5EHQsTNsWGSkKM69jJ
 AaWg0+g65SRUTIvArElapJJprJYdMHIroFOvCb4KQMghUo7PPxKDrlwHAp5LxNxUXVJV
 EefIorhdwp69WaNtmQJyXiYIFMv0mfcQFa8B6ebYjzaD8UlDP8rKADgZVK/D8nvu8p9T
 2KQg==
X-Gm-Message-State: APt69E2HFgKANunP1HwdqKJ8gzxuFkQ/YsDcP7P95c5E2S4RDnAMgkJ2
 M3PRKXrI0T1vEE3SYY926idO4W4k
X-Google-Smtp-Source: AAOMgpfYWNcP5z6uraEs9naYXnTKu5h1dZbKCT4kBSpvFEdmKb8hF8miRgUim15lw1KYKZmDYHtrRA==
X-Received: by 2002:adf:8877:: with SMTP id
 e52-v6mr2342719wre.30.1530032209156; 
 Tue, 26 Jun 2018 09:56:49 -0700 (PDT)
Received: from bidouze.dev.6wind.com. (host.78.145.23.62.rev.coltfrance.com.
 [62.23.145.78])
 by smtp.gmail.com with ESMTPSA id p5-v6sm2680880wre.83.2018.06.26.09.56.47
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 26 Jun 2018 09:56:47 -0700 (PDT)
From: Gaetan Rivet <gaetan.rivet@6wind.com>
To: dev@dpdk.org
Cc: Gaetan Rivet <gaetan.rivet@6wind.com>
Date: Tue, 26 Jun 2018 18:56:05 +0200
Message-Id: <2b4e8b141af3441110df81dc52e616263ed44d98.1530031921.git.gaetan.rivet@6wind.com>
X-Mailer: git-send-email 2.11.0
In-Reply-To: <cover.1530031921.git.gaetan.rivet@6wind.com>
References: <cover.1521124599.git.gaetan.rivet@6wind.com>
 <cover.1530031921.git.gaetan.rivet@6wind.com>
In-Reply-To: <cover.1530031921.git.gaetan.rivet@6wind.com>
References: <cover.1530031921.git.gaetan.rivet@6wind.com>
Subject: [dpdk-dev] [PATCH v8 02/21] kvargs: build before EAL
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Jun 2018 16:56:50 -0000

Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
---
 lib/Makefile               | 3 +--
 lib/librte_kvargs/Makefile | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/lib/Makefile b/lib/Makefile
index d82462ba2..e8e903c8f 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -4,6 +4,7 @@
 include $(RTE_SDK)/mk/rte.vars.mk
 
 DIRS-y += librte_compat
+DIRS-$(CONFIG_RTE_LIBRTE_KVARGS) += librte_kvargs
 DIRS-$(CONFIG_RTE_LIBRTE_EAL) += librte_eal
 DIRS-$(CONFIG_RTE_LIBRTE_PCI) += librte_pci
 DEPDIRS-librte_pci := librte_eal
@@ -76,8 +77,6 @@ DEPDIRS-librte_flow_classify :=  librte_net librte_table librte_acl
 DIRS-$(CONFIG_RTE_LIBRTE_SCHED) += librte_sched
 DEPDIRS-librte_sched := librte_eal librte_mempool librte_mbuf librte_net
 DEPDIRS-librte_sched += librte_timer
-DIRS-$(CONFIG_RTE_LIBRTE_KVARGS) += librte_kvargs
-DEPDIRS-librte_kvargs := librte_eal
 DIRS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) += librte_distributor
 DEPDIRS-librte_distributor := librte_eal librte_mbuf librte_ethdev
 DIRS-$(CONFIG_RTE_LIBRTE_PORT) += librte_port
diff --git a/lib/librte_kvargs/Makefile b/lib/librte_kvargs/Makefile
index 39d5ac33d..875939547 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
 
-- 
2.11.0