diff options
| author | Alessandro Gatti <a.gatti@frob.it> | 2025-11-28 06:25:57 +0100 |
|---|---|---|
| committer | Alessandro Gatti <a.gatti@frob.it> | 2026-01-11 09:22:13 +0100 |
| commit | b87d73f2e94553f124d17536cb91e91e419b1969 (patch) | |
| tree | 85407826c0dcc85728146dbc1e9b28be1c1f812f /py/emitndebug.c | |
| parent | 0fd084363a81c369a1487acd62f41f69199a7dae (diff) | |
tools/mpy_ld.py: Write architecture flags to output natmod if needed.HEADorigin/masterorigin/HEADmaster
This commit lets "tools/mpy_ld.py" store architecture flags in generated
MPY files if explicitly requested, like "mpy-cross" does.
To achieve this, a new command-line option ("--arch-flags") was added to
receive the architecture flags value, accepting the same arguments'
format as "mpy-cross", and performing the same input validation.
The rest of the MPY toolchain was also modified to let the user pass the
arch flags to standard native module makefiles. Given that there's
already a well-established "ARCH" argument, "ARCH_FLAGS" was chosen to
pass the optional flags to "mpy_ld.py".
Finally, documentation was updated to mention the new variable.
Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
Diffstat (limited to 'py/emitndebug.c')
0 files changed, 0 insertions, 0 deletions
