DPDK patches and discussions
 help / color / mirror / Atom feed
From: David Marchand <david.marchand@redhat.com>
To: dev@dpdk.org
Cc: Bruce Richardson <bruce.richardson@intel.com>
Subject: [PATCH] build: move enabled applications list declaration
Date: Fri, 11 Aug 2023 15:28:05 +0200	[thread overview]
Message-ID: <20230811132805.2434448-1-david.marchand@redhat.com> (raw)

No functional impact foreseen. Simply move this variable and rename it
for consistency with other similar variables.

Signed-off-by: David Marchand <david.marchand@redhat.com>
---
 app/meson.build | 4 +---
 meson.build     | 3 ++-
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/app/meson.build b/app/meson.build
index 4fc1a83eba..0c2e7e4c00 100644
--- a/app/meson.build
+++ b/app/meson.build
@@ -38,8 +38,6 @@ if get_option('default_library') == 'static' and not is_windows
     default_ldflags += ['-Wl,--export-dynamic']
 endif
 
-enabled_apps = [] # used to print summary at the end
-
 foreach app:apps
     name = app
     build = true
@@ -90,7 +88,7 @@ foreach app:apps
         continue
     endif
 
-    enabled_apps += app
+    dpdk_apps_enabled += app
     link_libs = []
     if get_option('default_library') == 'static'
         link_libs = dpdk_static_libraries + dpdk_drivers
diff --git a/meson.build b/meson.build
index 70b54f0c98..2e6e546d20 100644
--- a/meson.build
+++ b/meson.build
@@ -44,6 +44,7 @@ dpdk_drivers = []
 dpdk_extra_ldflags = []
 dpdk_libs_deprecated = []
 dpdk_apps_disabled = []
+dpdk_apps_enabled = []
 dpdk_libs_disabled = []
 dpdk_libs_enabled = []
 dpdk_drvs_disabled = []
@@ -123,7 +124,7 @@ endif
 output_message = '\n=================\nApplications Enabled\n=================\n'
 output_message += '\napps:\n\t'
 output_count = 0
-foreach app:enabled_apps
+foreach app:dpdk_apps_enabled
     output_message += app + ', '
     output_count += 1
     if output_count == 8
-- 
2.41.0


             reply	other threads:[~2023-08-11 13:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-11 13:28 David Marchand [this message]
2023-08-11 13:40 ` Bruce Richardson
2023-08-11 15:59 ` Tyler Retzlaff
2023-08-25  8:39 ` David Marchand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230811132805.2434448-1-david.marchand@redhat.com \
    --to=david.marchand@redhat.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).