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 76D3EA0A0A for ; Fri, 16 Apr 2021 22:49:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6DAAD161DA9; Fri, 16 Apr 2021 22:49:06 +0200 (CEST) Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) by mails.dpdk.org (Postfix) with ESMTP id 5F678161D21; Fri, 16 Apr 2021 22:49:04 +0200 (CEST) Received: by mail-lj1-f170.google.com with SMTP id a25so19198464ljm.11; Fri, 16 Apr 2021 13:49:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KTotNdQc8HTp5Zgjd76S1Wxsao2nXosI2gerzSVI0IU=; b=l/zGfAyYOsz/Guqmy0tVJ90IPFEaYMj91LW0I2QINrhSCb4Z1biwwCBfF/Ja56UhfI qJsvpgZzmkPZFu+4ltUSA1r474WszL7EyjMTCdCv7cskQLQ573TFYp4H96yNzqmd1wxj rzBn6qkEP0kPWuBRFgFkPwsJlWAd3okj2LqwnJM2j4UF7QXCAg+oGltg8ZEvhty6bin3 KZWP50lTQRiQxBP4EKcFieEqDbDJ8BHhkR8VwlVUmyL9qcEtZ7SV5GVOQNz4tyHhDpbS iZGZizoJ/Hsy57MzC3v4EgYEaHzixDd45DDSDAKs0Np0Xh3I4W/5YCFdsrCzYhjITC8E POuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KTotNdQc8HTp5Zgjd76S1Wxsao2nXosI2gerzSVI0IU=; b=Y6jevgUxJLVUVcNS2wGKHD//w79jZOk/aDlj7NT+3ZsWqOCcmFjWeqQRrymBcFs+Wi av6XLPBpZsDUZe6rvQ4Drk/Q0P7pVFGOtKTtCSD58NZJPTJxOGyzgqputUc/1oSGQEqZ Mfx8pW9taeavzgydL5QkgAM7bS1U6mq8e5PHX5hFzPZZzpV1moh54Niyx1D3gAwC/Zdd kjSISlHlLOSWVJva5a8YIqSZxv2xDsBg6KW0UZ5NsLjpaGqGTFZ4/JQwjngkEwidFu/o agSmEE0L5NetJ+XsB3hxKe9Z/NERU0TSaMLyyVLoPPCoUIDlepDVKFYSCTxdjNdh/mEj kJOw== X-Gm-Message-State: AOAM533mjHcpplOVHSXkxk9QjtkWd9LkrFjjFNwXe1JlxRey1o+KYqwJ E/HN214C5Js5L/blJ5wmyCgm92XlSzIiXg== X-Google-Smtp-Source: ABdhPJyz/aAHVLzxN5ledu8oGHWZnA+1Pjj/DtstrGJ2yBvxIGyGkIRT7grYdMS4kENqC9z4QReZeA== X-Received: by 2002:a2e:140b:: with SMTP id u11mr3714557ljd.125.1618606143578; Fri, 16 Apr 2021 13:49:03 -0700 (PDT) Received: from localhost.localdomain (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id h188sm378622lfd.71.2021.04.16.13.49.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 13:49:02 -0700 (PDT) From: Dmitry Kozlyuk To: dev@dpdk.org Cc: Dmitry Kozlyuk , stable@dpdk.org, Bruce Richardson Date: Fri, 16 Apr 2021 23:48:52 +0300 Message-Id: <20210416204852.15888-1-dmitry.kozliuk@gmail.com> X-Mailer: git-send-email 2.29.3 In-Reply-To: <20210415213629.30728-1-dmitry.kozliuk@gmail.com> References: <20210415213629.30728-1-dmitry.kozliuk@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] [PATCH v2] buildtools: fix all drivers disabled on Windows X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" buildtools/list-dir-globs.py printed paths with OS directory separator, which is "/" on Unices and "\" on Windows, while Meson code always expected "/". This resulted in all drivers being disabled on Windows. Replace "\" with "/" in script output. Forward slash is a valid, although non-default, separator on Windows, so no paths can be broken by this substitution. Fixes: ab9407c3addd ("build: allow using wildcards to disable drivers") Cc: stable@dpdk.org Signed-off-by: Dmitry Kozlyuk Acked-by: Bruce Richardson --- v2: Change fixes line, correct a typo (Juraj, Bruce). Not sure if it's worth backporting: it wasn't an issue in 20.11 and the patch won't apply as-is. buildtools/list-dir-globs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildtools/list-dir-globs.py b/buildtools/list-dir-globs.py index 911e267335..d824360d39 100755 --- a/buildtools/list-dir-globs.py +++ b/buildtools/list-dir-globs.py @@ -17,4 +17,4 @@ if path: for p in iglob(os.path.join(root, path)): if os.path.isdir(p): - print(os.path.relpath(p)) + print(os.path.relpath(p).replace('\\', '/')) -- 2.29.3