vhost: fix build dependency
Commitd0cf91303d
added dependency on librte_net headers to vhost but did not add this to the Makefile, which makes builds non-deterministic. Curiously it is non-parallel build that is consistently broken by this missing dependency, usually it's the other way around, but trying to build without -j(n) fails with: lib/librte_vhost/vhost_rxtx.c:41:20: fatal error: rte_ip.h: No such file or directory Fixes:d0cf91303d
("vhost: add Tx offload capabilities") Signed-off-by: Panu Matilainen <pmatilai@redhat.com> Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
This commit is contained in:
parent
9fd72e3cbd
commit
f1fe8388d5
@ -65,5 +65,6 @@ SYMLINK-$(CONFIG_RTE_LIBRTE_VHOST)-include += rte_virtio_net.h
|
||||
DEPDIRS-$(CONFIG_RTE_LIBRTE_VHOST) += lib/librte_eal
|
||||
DEPDIRS-$(CONFIG_RTE_LIBRTE_VHOST) += lib/librte_ether
|
||||
DEPDIRS-$(CONFIG_RTE_LIBRTE_VHOST) += lib/librte_mbuf
|
||||
DEPDIRS-$(CONFIG_RTE_LIBRTE_VHOST) += lib/librte_net
|
||||
|
||||
include $(RTE_SDK)/mk/rte.lib.mk
|
||||
|
Loading…
Reference in New Issue
Block a user