From 3f88210ae54827ca20230298da0d6cf903585122 Mon Sep 17 00:00:00 2001 From: Ferruh Yigit Date: Tue, 12 Dec 2017 18:39:56 +0000 Subject: [PATCH] kni: fix build dependency 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 Acked-by: Bernard Iremonger --- lib/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Makefile b/lib/Makefile index 4202702527..2cc37d6337 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -97,5 +97,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.20.1