Skip to content
Snippets Groups Projects
Verified Commit 6845b17d authored by rahix's avatar rahix
Browse files

fix(build): Fix QSTRs being regenerated every time


Signed-off-by: default avatarRahix <rahix@rahix.de>
parent 81fce4c5
Branches schneider/maxim-sdk-update
Tags
No related merge requests found
...@@ -24,6 +24,10 @@ micropython_includes = include_directories( ...@@ -24,6 +24,10 @@ micropython_includes = include_directories(
'./micropython/extmod/', './micropython/extmod/',
) )
micropython_mod_sources = files(
'micropython/py/modarray.c',
)
micropython_sources = files( micropython_sources = files(
'micropython/py/argcheck.c', 'micropython/py/argcheck.c',
'micropython/py/asmarm.c', 'micropython/py/asmbase.c', 'micropython/py/asmarm.c', 'micropython/py/asmbase.c',
......
...@@ -18,7 +18,7 @@ version_h = custom_target( ...@@ -18,7 +18,7 @@ version_h = custom_target(
modules_h = custom_target( modules_h = custom_target(
'moduledefs.h', 'moduledefs.h',
output: 'moduledefs.h', output: 'moduledefs.h',
input: [micropython_sources, modsrc], input: [micropython_mod_sources, modsrc],
command: [micropython_gen_modules, '@OUTPUT@', '@INPUT@'], command: [micropython_gen_modules, '@OUTPUT@', '@INPUT@'],
) )
...@@ -30,7 +30,7 @@ qstr_h = custom_target( ...@@ -30,7 +30,7 @@ qstr_h = custom_target(
'mpconfigport.h', 'mpconfigport.h',
micropython_sources, micropython_sources,
], ],
depends: [modules_h, version_h], depends: [version_h],
command: [micropython_gen_qstr, meson.current_source_dir(), '@OUTPUT@', '@INPUT@'], command: [micropython_gen_qstr, meson.current_source_dir(), '@OUTPUT@', '@INPUT@'],
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment