buildtools: fix all drivers disabled on Windows
authorDmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Fri, 16 Apr 2021 20:48:52 +0000 (23:48 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 17 Apr 2021 10:49:23 +0000 (12:49 +0200)
commit74299cc7591192cbc72e8f411dff0c7f3cfdf309
treeec828e2b0283fd7fcbe57413fb507afa8465b2fa
parentd1355fcc4607de529359c671c908bfbd2a5ffd0c
buildtools: fix all drivers disabled on Windows

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 <dmitry.kozliuk@gmail.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
buildtools/list-dir-globs.py