From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: [PATCH] kni: fix build dependency Date: Tue, 12 Dec 2017 18:39:56 +0000 Message-ID: <20171212183956.52341-1-ferruh.yigit@intel.com> Cc: dev@dpdk.org, Bernard Iremonger , stable@dpdk.org To: Ferruh Yigit Return-path: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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