Verified Commit 6845b17d authored by Rahix's avatar Rahix
Browse files

fix(build): Fix QSTRs being regenerated every time



Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
parent 81fce4c5
......@@ -24,6 +24,10 @@ micropython_includes = include_directories(
'./micropython/extmod/',
)
micropython_mod_sources = files(
'micropython/py/modarray.c',
)
micropython_sources = files(
'micropython/py/argcheck.c',
'micropython/py/asmarm.c', 'micropython/py/asmbase.c',
......
......@@ -18,7 +18,7 @@ version_h = custom_target(
modules_h = custom_target(
'moduledefs.h',
output: 'moduledefs.h',
input: [micropython_sources, modsrc],
input: [micropython_mod_sources, modsrc],
command: [micropython_gen_modules, '@OUTPUT@', '@INPUT@'],
)
......@@ -30,7 +30,7 @@ qstr_h = custom_target(
'mpconfigport.h',
micropython_sources,
],
depends: [modules_h, version_h],
depends: [version_h],
command: [micropython_gen_qstr, meson.current_source_dir(), '@OUTPUT@', '@INPUT@'],
)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment