fix(dpdk): update meson setup command 40/38840/3
authorJuraj Linkeš <juraj.linkes@pantheon.tech>
Wed, 17 May 2023 10:09:59 +0000 (12:09 +0200)
committerPeter Mikus <peter.mikus@protonmail.ch>
Tue, 23 May 2023 13:14:58 +0000 (13:14 +0000)
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š <juraj.linkes@pantheon.tech>
resources/libraries/bash/function/dpdk.sh

index d579cfc..86abb84 100644 (file)
@@ -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!"