[1/3] examples/vhost: update makefile to match meson build system

Message ID 20220607114856.1085803-1-herakliusz.lipiec@intel.com (mailing list archive)
State Superseded, archived
Delegated to: Maxime Coquelin
Headers
Series [1/3] examples/vhost: update makefile to match meson build system |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/iol-testing warning apply patch failure

Commit Message

Herakliusz Lipiec June 7, 2022, 11:48 a.m. UTC
  Meson build system creates a vhost binary but Makefile
and docs reference same as vhost-switch. Updating makefile
to match meson.

Signed-off-by: Herakliusz Lipiec <herakliusz.lipiec@intel.com>
---
 examples/vhost/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Bruce Richardson June 10, 2022, 12:05 p.m. UTC | #1
On Tue, Jun 07, 2022 at 12:48:54PM +0100, Herakliusz Lipiec wrote:
> Meson build system creates a vhost binary but Makefile
> and docs reference same as vhost-switch. Updating makefile
> to match meson.
> 
> Signed-off-by: Herakliusz Lipiec <herakliusz.lipiec@intel.com>
> ---
>  examples/vhost/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/examples/vhost/Makefile b/examples/vhost/Makefile
> index 975a5dfe40..ea64f02bb0 100644
> --- a/examples/vhost/Makefile
> +++ b/examples/vhost/Makefile
> @@ -2,7 +2,7 @@
>  # Copyright(c) 2010-2014 Intel Corporation
>  
>  # binary name
> -APP = vhost-switch
> +APP = dpdk-vhost
>  
>  # all source are stored in SRCS-y
>  SRCS-y := main.c virtio_net.c
> -- 

While I see the docs are updated in the next patch, I think it would be
good to have the doc binary renames included here for completeness.

With this addition:
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
  

Patch

diff --git a/examples/vhost/Makefile b/examples/vhost/Makefile
index 975a5dfe40..ea64f02bb0 100644
--- a/examples/vhost/Makefile
+++ b/examples/vhost/Makefile
@@ -2,7 +2,7 @@ 
 # Copyright(c) 2010-2014 Intel Corporation
 
 # binary name
-APP = vhost-switch
+APP = dpdk-vhost
 
 # all source are stored in SRCS-y
 SRCS-y := main.c virtio_net.c