From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C0D20A00BE for ; Wed, 30 Oct 2019 02:57:01 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7A9161BEB5; Wed, 30 Oct 2019 02:57:01 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id C82DF3977; Wed, 30 Oct 2019 02:56:57 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Oct 2019 18:56:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,245,1569308400"; d="scan'208";a="351164635" Received: from storage36.sh.intel.com ([10.67.110.177]) by orsmga004.jf.intel.com with ESMTP; 29 Oct 2019 18:56:55 -0700 From: Jin Yu To: maxime.coquelin@redhat.com, tiwei.bie@intel.com Cc: dev@dpdk.org, Jin Yu , stable@dpdk.org Date: Wed, 30 Oct 2019 17:37:27 +0800 Message-Id: <20191030093727.37723-1-jin.yu@intel.com> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20191028103443.42346-1-jin.yu@intel.com> References: <20191028103443.42346-1-jin.yu@intel.com> Subject: [dpdk-stable] [PATCH] vhost: fix compile error X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Compile librte_vhost/vhost_crypto.c needs the rte_hash.h So we need the librte_hash to be compiled before vhost. Add the DEPDIRs to make sure this. Bugzilla ID: 356 Fixes: 939066d96563 ("vhost/crypto: add public function implementation") Cc: stable@dpdk.org Signed-off-by: Jin Yu --- V2 - add the librte_crytodev --- lib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Makefile b/lib/Makefile index 41c463d92..b2a143d4f 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -46,7 +46,7 @@ DIRS-$(CONFIG_RTE_LIBRTE_RAWDEV) += librte_rawdev DEPDIRS-librte_rawdev := librte_eal librte_ethdev DIRS-$(CONFIG_RTE_LIBRTE_VHOST) += librte_vhost DEPDIRS-librte_vhost := librte_eal librte_mempool librte_mbuf librte_ethdev \ - librte_net + librte_net librte_hash librte_cryptodev DIRS-$(CONFIG_RTE_LIBRTE_HASH) += librte_hash DEPDIRS-librte_hash := librte_eal librte_ring DIRS-$(CONFIG_RTE_LIBRTE_EFD) += librte_efd -- 2.17.2