patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Dmitry Kozlyuk <>
Cc: Dmitry Kozlyuk <>,, Bruce Richardson <>
Subject: [dpdk-stable] [PATCH v2] buildtools: fix all drivers disabled on Windows
Date: Fri, 16 Apr 2021 23:48:52 +0300
Message-ID: <> (raw)
In-Reply-To: <>

buildtools/ 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")

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/ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/buildtools/ b/buildtools/
index 911e267335..d824360d39 100755
--- a/buildtools/
+++ b/buildtools/
@@ -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('\\', '/'))

       reply	other threads:[~2021-04-16 20:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <>
2021-04-16 20:48 ` Dmitry Kozlyuk [this message]
2021-04-17 10:48   ` [dpdk-stable] [dpdk-dev] " Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

patches for DPDK stable branches

This inbox may be cloned and mirrored by anyone:

	git clone --mirror stable/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 stable stable/ \
	public-inbox-index stable

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone