From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7C2ACA0528; Mon, 20 Jan 2020 19:59:23 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 58D741C068; Mon, 20 Jan 2020 19:59:22 +0100 (CET) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by dpdk.org (Postfix) with ESMTP id 65A821C065 for ; Mon, 20 Jan 2020 19:59:20 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 8660E53F; Mon, 20 Jan 2020 13:59:16 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 20 Jan 2020 13:59:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=J2Cx4bSLkeej1SAkXPok559AXZ+yW5p6xQYyHX4DA+k=; b=SYMYByHp7FTk rnrtz96e11kiHGezJbVJjEBYi6uY3oMemhdkLXxBaJ8D+k1Yr+ysLV7V6cBzmEnp 6fhh2FqRVgQdbCIkkELkXT/83dDJ/T2M52Q9J45ql/ny7gZi7ti4tQs+q2GXud75 T5utJVnVs+3Aj6sA3sa88/YwQ39GLBI= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=J2Cx4bSLkeej1SAkXPok559AXZ+yW5p6xQYyHX4DA +k=; b=r1RDIvIhaf8mWUojoek+889eEcB5kLesHSeqJVoU4TkWgEhfufHUEqkJA JXJ4Y7ZCt8be2D4gQBYipC8HUM7TkxuDxCWpYA+Li7WZjdvzR3kppWcgf6gUnFF6 eqXdsF6JkUoHeRJhZE0fubHQHu18/8wwDK2DSOOECLzTSHBYFj1tTOLJrdWxUXiX dgaWiAgJGdCeBzOpjmTT0z+Nkvt7rUI4CLgPQzx9sIN+/Ppcsu1r2ozGN/cX7syi dghc/fCEtlMGI86NyfYTO8yG0ygBFDpq7Y1Mh1XQUZQjHDH38vsCTbQDhC1DOe6o VS4522UKRisFjYGMknaS3ezVxHXTw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudeigdehiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph epjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghr rghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 3E03780064; Mon, 20 Jan 2020 13:59:15 -0500 (EST) From: Thomas Monjalon To: Bruce Richardson Cc: dev@dpdk.org, robin.jarry@6wind.com Date: Mon, 20 Jan 2020 19:59:13 +0100 Message-ID: <2317106.JBEolbzBkm@xps> In-Reply-To: <20200120173725.57529-1-bruce.richardson@intel.com> References: <20200120173725.57529-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] build: allow using wildcards to disable drivers X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 20/01/2020 18:37, Bruce Richardson: > Rather than having to explicitly list each and every driver to disable in a > build, we can use a small python script and the python glob library to > expand out the wildcards. This means that we can configure meson using e.g. > > meson -Ddisable_drivers=crypto/*,event/* build > > to do a build omitting all the crypto and event drivers. Explicitly > specified drivers e.g. net/i40e, work as before, and can be mixed with > wildcarded drivers as required. > > Signed-off-by: Bruce Richardson > --- > --- /dev/null > +++ b/buildtools/list-dir-globs.sh > @@ -0,0 +1,15 @@ > +#! /usr/bin/env python Did you start implementing it as a shell script? The extension is still .sh though I guess it might be .py.