You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
py/mkrules,makeqstrdefs: Fix argument list too long error in qstr generation.
Support response files in makeqstrdefs.py to handle builds with large
numbers of source files (e.g., LVGL with 1200+ files). This prevents
shell argument limit exceeded errors during the qstr preprocessing step.
The issue was first encountered when including large modules like LVGL.
The ARG_MAX limit varies between systems (128KB - 2MB depending on kernel
version), which explains why builds succeed on some machines but fail on
others with identical source code.
Changes:
- Modified py/mkrules.mk to write source file list to qstr_sources.txt
- Modified py/mkrules.cmake to use inline string replacement
- Modified py/makeqstrdefs.py to read from response files with @ prefix
This targeted fix only puts the large file list in a separate file while
keeping all other arguments on the command line.
Signed-off-by: Andrew Leech <[email protected]>
0 commit comments