From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by dpdk.org (Postfix) with ESMTP id 920D11B89E for ; Wed, 11 Apr 2018 02:04:44 +0200 (CEST) Received: by mail-wm0-f68.google.com with SMTP id o23so23451164wmf.0 for ; Tue, 10 Apr 2018 17:04:44 -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=s4VzvBrzdFW6CMkIi65DndUkdWRFgC1KR+LN7EUoYA8=; b=lRBshwQ1Y4k66OE61wsULAfSRAqW5lw1wpBwNZs/ra0zui6sSjf1sVWM97GmT/A7t7 FM7W1wDPK47kG7z8w62of04rVSEOGro44uXw9Bc2mna8AwVO7b+7RxyQyMS/mOzPGE6m h+CJJJ/JK8QTIx/2fog0AhG/8mzz5z7WDKbD2XKjkk8I+FxbajS/YvknZl+5YFAtjsgn MwOWb1YYvNxXHUiYGZuJ5rKpLBBrTI2FgrEDHN0oEN0i1wqsq8+jgv6N9WL2nCWLLSVb GhSgwBnrR4GhayxYOUGspimdFoN7jqiEf/gwiF2yUFe/m4Sog2LbL0jFBzfy8p3TWa59 MI+A== 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=s4VzvBrzdFW6CMkIi65DndUkdWRFgC1KR+LN7EUoYA8=; b=ZBNrsL9M/Z2EKTRMffHPssnYq4uS81NxsD4GOiHc1lRa47wPQWW+yqdZanVT9xIfh7 kBq5NliQWQEvgxsHuPEubcFMDthX1N+39pMeuSBjMDuSIz12Y+J2dIaPaS42/jrj/Mra Fe+owK9eds4idStcJJ4LtUb7uA4kHtL+cvcAJ+2ys54mbX15efi40NELLP6qFU+dPYWS fQvl6wDtKaSobCGh18NjKu8DcFqeZSla6AJxFZO1HAHg+uFXyX12oMU57N/PuObDkmXF ytUFA9w5ggwikBXZzWVmauY58g8IlneD9+fOmhcPksPCa329JmdjEbXt5GMg5RPhWZg8 jTFQ== X-Gm-Message-State: ALQs6tCEKUhyTp4WbmxnNdJN6BXd26UeOF9TFYjGKR5xLblVobKCddO3 2EWHvXo0AwYvV0B1TXWtfldiI4ht X-Google-Smtp-Source: AIpwx4/vYECzshC3nyYBseEfxNX/+OPx1RUmxdIdIFuz+B9RQki13T75+HY46R+Cej8CNXI3LhQN4Q== X-Received: by 10.28.202.7 with SMTP id a7mr1014527wmg.93.1523405083966; Tue, 10 Apr 2018 17:04:43 -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 39sm7626563wry.89.2018.04.10.17.04.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Apr 2018 17:04:43 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Wed, 11 Apr 2018 02:04:02 +0200 Message-Id: <57436e9fe3492dc8b9f4a2d9a9841800aab9194a.1523404469.git.gaetan.rivet@6wind.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: Subject: [dpdk-dev] [PATCH v5 01/21] kvargs: build before EAL X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2018 00:04:44 -0000 Signed-off-by: Gaetan Rivet --- lib/Makefile | 3 +-- lib/librte_eal/common/Makefile | 2 +- lib/librte_kvargs/Makefile | 3 ++- lib/librte_kvargs/rte_kvargs.c | 2 +- lib/{librte_eal/common/include => librte_kvargs}/rte_string_fns.h | 0 5 files changed, 5 insertions(+), 5 deletions(-) rename lib/{librte_eal/common/include => librte_kvargs}/rte_string_fns.h (100%) diff --git a/lib/Makefile b/lib/Makefile index ec965a606..fc7a55a37 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 @@ -71,8 +72,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_ether DIRS-$(CONFIG_RTE_LIBRTE_PORT) += librte_port diff --git a/lib/librte_eal/common/Makefile b/lib/librte_eal/common/Makefile index ea824a3a8..75776d3e2 100644 --- a/lib/librte_eal/common/Makefile +++ b/lib/librte_eal/common/Makefile @@ -9,7 +9,7 @@ INC += rte_errno.h rte_launch.h rte_lcore.h INC += rte_log.h rte_memory.h rte_memzone.h INC += rte_per_lcore.h rte_random.h INC += rte_tailq.h rte_interrupts.h rte_alarm.h -INC += rte_string_fns.h rte_version.h +INC += rte_version.h INC += rte_eal_memconfig.h rte_malloc_heap.h INC += rte_hexdump.h rte_devargs.h rte_bus.h rte_dev.h INC += rte_pci_dev_feature_defs.h rte_pci_dev_features.h diff --git a/lib/librte_kvargs/Makefile b/lib/librte_kvargs/Makefile index 4eaa9334d..e026ecc21 100644 --- a/lib/librte_kvargs/Makefile +++ b/lib/librte_kvargs/Makefile @@ -37,7 +37,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 @@ -48,6 +48,7 @@ SRCS-$(CONFIG_RTE_LIBRTE_KVARGS) := rte_kvargs.c # install includes INCS := rte_kvargs.h +INCS += rte_string_fns.h SYMLINK-$(CONFIG_RTE_LIBRTE_KVARGS)-include := $(INCS) include $(RTE_SDK)/mk/rte.lib.mk diff --git a/lib/librte_kvargs/rte_kvargs.c b/lib/librte_kvargs/rte_kvargs.c index d92a5f9dc..0a1abf579 100644 --- a/lib/librte_kvargs/rte_kvargs.c +++ b/lib/librte_kvargs/rte_kvargs.c @@ -7,8 +7,8 @@ #include #include -#include +#include "rte_string_fns.h" #include "rte_kvargs.h" /* diff --git a/lib/librte_eal/common/include/rte_string_fns.h b/lib/librte_kvargs/rte_string_fns.h similarity index 100% rename from lib/librte_eal/common/include/rte_string_fns.h rename to lib/librte_kvargs/rte_string_fns.h -- 2.11.0