Skip to contentSkip to conversation

lib/librte_vhost: fix meson build

PATCH In review Fan Zhang 2 participants 3 messages Apr 6, 2018 – Apr 9, 2018 Arm/Amlogic Meson SoC support

lore
Share & tools
lore

Fan Zhang

author
#0 lore raw

PATCH 1/1 lib/librte_vhost: fix meson build

Fixes 7834b5c82bf3 ("lib/librte_vhost: update makefile")

This patch fixes some meson build bugs.

---
 lib/librte_vhost/meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
lib/librte_vhost/meson.build +2 -2
index f01ef67fc..dee154e40 100644
@@ -10,6 +10,6 @@ endif
 version = 4
 allow_experimental_apis = true
 sources = files('fd_man.c', 'iotlb.c', 'socket.c', 'vhost.c', 'vhost_user.c',
-		'virtio_net.c', 'virtio_crypto.c')
+		'virtio_net.c', 'vhost_crypto.c')
 headers = files('rte_vhost.h', 'rte_vhost_crypto.h')
-deps += ['ethdev', 'cryptodev', 'pci']
+deps += ['ethdev', 'cryptodev', 'pci', 'hash']
Signature · 1 line
2.13.6
Acked-by on v1 1/1
#1 lore raw
Quoted 15 lines · Fan Zhang
Fixes 7834b5c82bf3 ("lib/librte_vhost: update makefile")

This patch fixes some meson build bugs.

---
  lib/librte_vhost/meson.build | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
lib/librte_vhost/meson.build +0 -0
index f01ef67fc..dee154e40 100644

lib/librte_vhost/meson.build endif · line 15

Quoted 8 lines
lib/librte_vhost/meson.build +2 -2
@@ -10,6 +10,6 @@ endif
  version = 4
  allow_experimental_apis = true
  sources = files('fd_man.c', 'iotlb.c', 'socket.c', 'vhost.c', 'vhost_user.c',
-		'virtio_net.c', 'virtio_crypto.c')
+		'virtio_net.c', 'vhost_crypto.c')
  headers = files('rte_vhost.h', 'rte_vhost_crypto.h')
-deps += ['ethdev', 'cryptodev', 'pci']
+deps += ['ethdev', 'cryptodev', 'pci', 'hash']

I will squash the change in patch 7834b5c82bf3 if not applied yet.

As discussed on IRC, we should ideally have such dependencies only if vhost-crypto build is enabled.

Thanks!
Maxime

#2 lore raw
In reply to Fan Zhang
Quoted 15 lines · Fan Zhang
Fixes 7834b5c82bf3 ("lib/librte_vhost: update makefile")

This patch fixes some meson build bugs.

---
  lib/librte_vhost/meson.build | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
lib/librte_vhost/meson.build +0 -0
index f01ef67fc..dee154e40 100644

lib/librte_vhost/meson.build endif · line 15

Quoted 8 lines
lib/librte_vhost/meson.build +2 -2
@@ -10,6 +10,6 @@ endif
  version = 4
  allow_experimental_apis = true
  sources = files('fd_man.c', 'iotlb.c', 'socket.c', 'vhost.c', 'vhost_user.c',
-		'virtio_net.c', 'virtio_crypto.c')
+		'virtio_net.c', 'vhost_crypto.c')
  headers = files('rte_vhost.h', 'rte_vhost_crypto.h')
-deps += ['ethdev', 'cryptodev', 'pci']
+deps += ['ethdev', 'cryptodev', 'pci', 'hash']

Squashed into offending commit!

Thanks,
Maxime