From patchwork Thu Aug 1 10:01:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robin Jarry X-Patchwork-Id: 142819 X-Patchwork-Delegate: thomas@monjalon.net 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 9D72045710; Thu, 1 Aug 2024 12:02:26 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8331643399; Thu, 1 Aug 2024 12:02:26 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 72FCA40A7F for ; Thu, 1 Aug 2024 12:02:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1722506544; 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=5jJyb4ZgJ3XuUVV2ZNPYMrKc+rvx3Q3Eaniy904whU4=; b=jR305TpApWBYBM8PItNHweOtUy2EOf0V072C0wgJ1Ms+hw/4hylLKN5m5otk8ASI3k2+Zz pAyzShsCbFPt83vvA9x9tlGrrd6SJyP50Fy/xXwHLVQ6XGq0pdh929ilF2xNYwOBHuDyKv a9YQYnPlN+i92FCWiesZxLYhJrOPHSw= Received: from mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-108-nGe2OILyO6uCjtDL5NzE8g-1; Thu, 01 Aug 2024 06:02:22 -0400 X-MC-Unique: nGe2OILyO6uCjtDL5NzE8g-1 Received: from mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id C21371955D48; Thu, 1 Aug 2024 10:02:21 +0000 (UTC) Received: from localhost.localdomain (unknown [10.39.208.21]) by mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 067A21955D42; Thu, 1 Aug 2024 10:02:19 +0000 (UTC) From: Robin Jarry To: dev@dpdk.org, Bruce Richardson Cc: stable@dpdk.org Subject: [PATCH dpdk] buildtools/cmdline: fix meson error when used as a subproject Date: Thu, 1 Aug 2024 12:01:54 +0200 Message-ID: <20240801100153.41779-2-rjarry@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.15 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 Fix the following error when using dpdk as a subproject: subprojects/dpdk/buildtools/subproject/meson.build:28:56: ERROR: Unknown function "file". This was obviously never tested in its submitted form. Cc: stable@dpdk.org Fixes: 7d8c608faa7f ("buildtools/cmdline: allow using script in subproject") Signed-off-by: Robin Jarry Acked-by: Bruce Richardson --- buildtools/subproject/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildtools/subproject/meson.build b/buildtools/subproject/meson.build index 9ba94671bd0e..8ae081e1698a 100644 --- a/buildtools/subproject/meson.build +++ b/buildtools/subproject/meson.build @@ -25,4 +25,4 @@ endif libdpdk_dep = dpdk_dep -meson.override_find_program('dpdk-cmdline-gen.py', file('../dpdk-cmdline-gen.py')) +meson.override_find_program('dpdk-cmdline-gen.py', files('../dpdk-cmdline-gen.py'))