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: ab9407c3ad
("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>
This commit is contained in:
parent
d1355fcc46
commit
74299cc759
@ -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('\\', '/'))
|
||||
|
Loading…
Reference in New Issue
Block a user