From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 5A63E199AF; Tue, 12 Dec 2017 19:40:01 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Dec 2017 10:40:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,395,1508828400"; d="scan'208";a="183614889" Received: from silpixa00372839.ir.intel.com (HELO silpixa00372839.ger.corp.intel.com) ([10.237.222.154]) by orsmga005.jf.intel.com with ESMTP; 12 Dec 2017 10:39:58 -0800 From: Ferruh Yigit To: Ferruh Yigit Cc: dev@dpdk.org, Bernard Iremonger , stable@dpdk.org Date: Tue, 12 Dec 2017 18:39:56 +0000 Message-Id: <20171212183956.52341-1-ferruh.yigit@intel.com> X-Mailer: git-send-email 2.14.3 Subject: [dpdk-dev] [PATCH] kni: fix build dependency 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: Tue, 12 Dec 2017 18:40:02 -0000 kni library has a dependency to new PCI library, adding that dependency. build error: CC rte_kni.o In file included from dpdk/lib/librte_kni/rte_kni.c:48:0: dpdk/build/include/rte_kni.h:49:21: fatal error: rte_pci.h: No such file or directory #include ^ Fixes: c752998b5e2e ("pci: introduce library and driver") Cc: stable@dpdk.org Reported-by: Bernard Iremonger Signed-off-by: Ferruh Yigit --- lib/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Makefile b/lib/Makefile index dc4e8df70..26113cda7 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -125,5 +125,6 @@ ifeq ($(CONFIG_RTE_EXEC_ENV_LINUXAPP),y) DIRS-$(CONFIG_RTE_LIBRTE_KNI) += librte_kni endif DEPDIRS-librte_kni := librte_eal librte_mempool librte_mbuf librte_ether +DEPDIRS-librte_kni += librte_pci include $(RTE_SDK)/mk/rte.subdir.mk -- 2.14.3