vhost: fix build dependency
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 18 Feb 2016 09:47:43 +0000 (11:47 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 18 Feb 2016 19:25:15 +0000 (20:25 +0100)
commitf1fe8388d5cccfb159096230d6269cd8001167a0
treebca094fabc219ddf4abb75e24acf9adc94cb5626
parent9fd72e3cbd291f54c3261ddcc0e4d977aec4bb5f
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 <pmatilai@redhat.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
lib/librte_vhost/Makefile