kni: fix build dependency
authorFerruh Yigit <ferruh.yigit@intel.com>
Tue, 12 Dec 2017 18:39:56 +0000 (18:39 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 11 Jan 2018 18:15:26 +0000 (19:15 +0100)
commit3f88210ae54827ca20230298da0d6cf903585122
treed465b90e6915a8c8708044651eed0a34dfc044c1
parent05100f3eefca1260d8d6765bb85fefed7d225962
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 <rte_pci.h>
                       ^

Fixes: c752998b5e2e ("pci: introduce library and driver")
Cc: stable@dpdk.org
Reported-by: Bernard Iremonger <bernard.iremonger@intel.com>
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
lib/Makefile