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 1A9D346F4E; Mon, 22 Sep 2025 17:52:58 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 03FD0402CB; Mon, 22 Sep 2025 17:52:58 +0200 (CEST) Received: from fout-b7-smtp.messagingengine.com (fout-b7-smtp.messagingengine.com [202.12.124.150]) by mails.dpdk.org (Postfix) with ESMTP id 6A0EF402A9 for ; Mon, 22 Sep 2025 17:52:56 +0200 (CEST) Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfout.stl.internal (Postfix) with ESMTP id AD0AB1D0017A; Mon, 22 Sep 2025 11:52:55 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Mon, 22 Sep 2025 11:52:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1758556375; x=1758642775; bh=IueKjGU1dS2N4tcPo1ey9BmK7RbDlRa2AVItd/OeZCk=; b= phZB0tdZFY4q4mn/WOEHqQMSyPN655ObQ+/ks/J6gNjjXiUj/oxEWHy84q0kVOer FK1H90Pc8Q2l/zZKXHgxiE8fHghvrfMcOGr1Ch3XD95ah4BSddtIy82RXxdmxO4a zyplXyryq86DBfgHasL7/F9R6xp4FcZyLHzZSWDtDjtpMLmun3dy0kJK6/Gr+qmB hfz/bj0xQa1WyuozmVBOEChzdPkPt+uC7nMDGrFZ6tEumzpYztOwx9hsTjbP+f/l lbkQPUWtxAHtJF8WOWL2f1T/2fKUqAVcWydzSzXEfsrTGiKMPkykU+oJpfrnUFD/ /Jfl3cG0BgFQyURuG26Gxw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1758556375; x= 1758642775; bh=IueKjGU1dS2N4tcPo1ey9BmK7RbDlRa2AVItd/OeZCk=; b=E Jhc4rYDE7nVjsYszXOiB5s8/faJG+24PwYiK2fn4xL5BY6IZz0gsbsJsYg3AMLs6 UJrCWeWWXWCmwGvPq3QfC1E6fpWJZLVKdUxsAOLS1bVrFBigfh0qgmCO9AbxkPfn fVLcDlxM/AImcXHVfa8UZxhXmFyiFKcn9SE75U1y08O5CGhb6vlym0YhJmlp6iV6 xzx4o4a1cgBs0fYEoCkd0poMn/Q9k/1Pbwmo2TQAJsRbvpbjojS0DBzpYSWhlBM4 lA5lrHKgbiuOIKUJ3go966t/ghVv5uK/ZcYsRj/+f/hvcngspuEOoUY4WdkrCLrE 3YW22ZlFMLHKNna6af+yQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggdehkedviecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefhvfevufffkfgjfhgggfgtsehtufertddttdejnecuhfhrohhmpefvhhhomhgrshcu ofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecuggftrf grthhtvghrnhepjeduveehieevuddutdevfffgtdegkeeuveejffejgedtgeegkefgvdeu gfefkeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epthhhohhmrghssehmohhnjhgrlhhonhdrnhgvthdpnhgspghrtghpthhtohephedpmhho uggvpehsmhhtphhouhhtpdhrtghpthhtohepuggvvhesughpughkrdhorhhgpdhrtghpth htohepkhhtrhgrhihnohhrsehrvgguhhgrthdrtghomhdprhgtphhtthhopegsrhhutggv rdhrihgthhgrrhgushhonhesihhnthgvlhdrtghomhdprhgtphhtthhopegurghvihgurd hmrghrtghhrghnugesrhgvughhrghtrdgtohhm X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 22 Sep 2025 11:52:54 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org, Kevin Traynor Cc: bruce.richardson@intel.com, david.marchand@redhat.com, Kevin Traynor Subject: Re: [PATCH 2/2] build: add backwards compatibility for wildcarding nested drivers Date: Mon, 22 Sep 2025 17:52:53 +0200 Message-ID: <8866794.lvqk35OSZv@thomas> In-Reply-To: <20250922110708.47879-2-ktraynor@redhat.com> References: <20250922110708.47879-1-ktraynor@redhat.com> <20250922110708.47879-2-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" 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 22/09/2025 13:07, Kevin Traynor: > Up until DPDK 25.03 'net/*' could be used with meson options > enable_drivers or disable_drivers to explicitly enable or > disable all net drivers. > > In DPDK 25.03 commit > c1d145834f28 ("net/intel: move Intel drivers to a subdirectory") > moved Intel drivers to 'net/intel/*' and 'net/*' no longer enabled > or disabled the Intel drivers. > > Expand wildcards handling to include nested drivers. > e.g. 'net/*' will also enable/disable drivers in 'net/*/*' > > This adds backwards compatibility so that so that 'net/*' will > continue to enable/disable Intel and any future nested drivers. > > Signed-off-by: Kevin Traynor > --- > drivers/meson.build | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/drivers/meson.build b/drivers/meson.build > index 3fbf04e1cd..ccd25e4d18 100644 > --- a/drivers/meson.build > +++ b/drivers/meson.build > @@ -58,4 +58,9 @@ foreach driver_type : [['disable', get_option('disable_drivers')], > .format(driver, driver_mapped)) > driver = driver_mapped > + elif driver.contains('*') > + if driver.endswith('/*') and not driver.contains('/*/*') > + # for wildcard add nested wildcard > + driver = driver + ',' + driver + '/*' > + endif The special pattern ** does not work in Meson?