Verified Commit 9241afff authored by Rahix's avatar Rahix
Browse files

build(micropython): Improve version.h generator



Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
parent 396f1543
......@@ -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'),
......
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