From 8acd67e97d2c6553e699c4e161e408ec3f53c32e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Juraj=20Linke=C5=A1?= Date: Wed, 17 May 2023 12:09:59 +0200 Subject: [PATCH] fix(dpdk): update meson setup command MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The current invocation is deprecated: WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated. Change-Id: Ieffa7f295e4ea7634ee5e8f77e373c5e9314b3cf Signed-off-by: Juraj Linkeš --- resources/libraries/bash/function/dpdk.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/libraries/bash/function/dpdk.sh b/resources/libraries/bash/function/dpdk.sh index d579cfc444..86abb84a02 100644 --- a/resources/libraries/bash/function/dpdk.sh +++ b/resources/libraries/bash/function/dpdk.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2022 Cisco and/or its affiliates. +# Copyright (c) 2023 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -97,7 +97,7 @@ function dpdk_compile () { meson_options="${meson_options} -Dplatform=generic" # Compile using Meson and Ninja. - meson ${meson_options} build || { + meson setup ${meson_options} build || { die "Failed to compile DPDK!" } ninja -C build || die "Failed to compile DPDK!" -- 2.16.6