From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true 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 --- 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')) -- 2.45.2