mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
fix(tools): Windows builds when paths contain spaces (prefix_map, ldgen, CI)
- Harden prefix_map.cmake for paths with spaces on Windows - ldgen: fragments-list-file, list normalization, CMake integration (tools/cmake + cmakev2) - CI exclude list for check_tools; test_spaces bundle tweak Made-with: Cursor
This commit is contained in:
@@ -144,6 +144,12 @@ def main():
|
||||
'--fragments-list', help='Input fragment files as a semicolon-separated list', type=str
|
||||
)
|
||||
|
||||
fragments_group.add_argument(
|
||||
'--fragments-list-file',
|
||||
type=argparse.FileType('r'),
|
||||
help='File containing fragment file paths, one per line',
|
||||
)
|
||||
|
||||
argparser.add_argument(
|
||||
'--libraries-file', type=argparse.FileType('r'), help='File that contains the list of libraries in the build'
|
||||
)
|
||||
@@ -201,6 +207,8 @@ def main():
|
||||
fragment_files = []
|
||||
if args.fragments_list:
|
||||
fragment_files = args.fragments_list.split(';')
|
||||
elif args.fragments_list_file:
|
||||
fragment_files = [line.strip() for line in args.fragments_list_file if line.strip()]
|
||||
elif args.fragments:
|
||||
fragment_files = args.fragments
|
||||
|
||||
|
||||
Reference in New Issue
Block a user