From patchwork Fri Aug 11 13:28:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Marchand X-Patchwork-Id: 130165 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id ABC5443034; Fri, 11 Aug 2023 15:28:17 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8877640F16; Fri, 11 Aug 2023 15:28:17 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 713D140E03 for ; Fri, 11 Aug 2023 15:28:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1691760494; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lCnXW/wHn+bE4VOZH+wqJ0RaC3n6wNlmWutxuCyE6nc=; b=RVOgQjVfjAygAgelZ4965C0+W7pdx6k1g2mfk2DA3qH/2HSamU+dbjZMWv1eauOSrgMUhK Wr5FYb1HAi6S0QyuJ99jsVB5JQzI1dvwxHWc5QbmxRuvo3ZIbuW/Rx2pR7HTJJk3xiDQtO gOJIMf/1DoiArKSKhVxbJycEPa00eHQ= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-353-KEry_6zHN_C7vWA2_xxwNg-1; Fri, 11 Aug 2023 09:28:11 -0400 X-MC-Unique: KEry_6zHN_C7vWA2_xxwNg-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 79359800159; Fri, 11 Aug 2023 13:28:11 +0000 (UTC) Received: from dmarchan.redhat.com (unknown [10.39.192.23]) by smtp.corp.redhat.com (Postfix) with ESMTP id EC562C15BB8; Fri, 11 Aug 2023 13:28:10 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: Bruce Richardson Subject: [PATCH] build: move enabled applications list declaration Date: Fri, 11 Aug 2023 15:28:05 +0200 Message-ID: <20230811132805.2434448-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org No functional impact foreseen. Simply move this variable and rename it for consistency with other similar variables. Signed-off-by: David Marchand Acked-by: Bruce Richardson Acked-by: Tyler Retzlaff Acked-by: Bruce Richardson --- 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