From f1fe8388d5cccfb159096230d6269cd8001167a0 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Thu, 18 Feb 2016 11:47:43 +0200 Subject: [PATCH] vhost: fix build dependency Commit d0cf91303d73 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: d0cf91303d73 ("vhost: add Tx offload capabilities") Signed-off-by: Panu Matilainen Acked-by: Yuanhan Liu --- lib/librte_vhost/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_vhost/Makefile b/lib/librte_vhost/Makefile index 035b569956..ef9bbae5fa 100644 --- a/lib/librte_vhost/Makefile +++ b/lib/librte_vhost/Makefile @@ -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 -- 2.20.1