mirror of
https://github.com/justinian/jsix.git
synced 2025-12-09 16:04:32 -08:00
Allow modules to specify defines
The modules.yaml now has an optional defines: list per module that adds preprocessor definitions to the build scripts. Also added a --debug flag to qemu.sh to run QEMU's debugger host.
This commit is contained in:
@@ -10,6 +10,9 @@ ccflags = $ccflags $
|
||||
{%- for inc in module.includes %}
|
||||
-I${srcroot}/{{ inc }} $
|
||||
{%- endfor %}
|
||||
{%- for define in module.defines %}
|
||||
-D{{ define }} $
|
||||
{%- endfor %}
|
||||
{% endblock %}
|
||||
|
||||
{% for source in module.sources %}
|
||||
|
||||
Reference in New Issue
Block a user