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

build(micropython): Improve version.h generator


Signed-off-by: default avatarRahix <rahix@rahix.de>
parent 396f1543
No related branches found
No related tags found
No related merge requests found
......@@ -13,12 +13,7 @@ modsrc = files(
version_h = custom_target(
'mpversion.h',
output: 'mpversion.h',
command: [
micropython_gen_version,
python3,
micropython_dir,
'@OUTPUT@',
],
command: [micropython_gen_version, '@OUTPUT@'],
)
modules_h = custom_target(
......
......@@ -5,8 +5,11 @@ micropython_gen_modules = [
meson.current_source_dir(),
]
micropython_dir = meson.current_source_dir()
micropython_gen_version = files('./gen-version.sh')
micropython_gen_version = [
files('./gen-version.sh'),
python3,
meson.current_source_dir(),
]
micropython_gen_qstr = [
files('gen-qstr.sh'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment