Verified Commit 1095dde3 authored by Rahix's avatar Rahix
Browse files

chore(build/py): Create own array for extmod sources



Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
parent 97dce13d
......@@ -177,5 +177,20 @@ micropython_additional_sources = files(
'micropython/lib/utils/stdout_helpers.c',
'micropython/lib/utils/pyexec.c',
'micropython/lib/mp-readline/readline.c',
)
micropython_extmod_sources = files(
'micropython/extmod/utime_mphal.c',
'micropython/extmod/modbtree.c',
'micropython/extmod/modframebuf.c',
'micropython/extmod/modubinascii.c',
'micropython/extmod/moducryptolib.c',
'micropython/extmod/moductypes.c',
'micropython/extmod/moduhashlib.c',
'micropython/extmod/moduheapq.c',
'micropython/extmod/modujson.c',
'micropython/extmod/modurandom.c',
'micropython/extmod/modure.c',
'micropython/extmod/moduselect.c',
'micropython/extmod/modutimeq.c',
)
......@@ -30,6 +30,7 @@ qstr_h = custom_target(
'modules/qstrdefs.h',
'mpconfigport.h',
micropython_sources,
micropython_extmod_sources,
],
depends: [version_h],
command: [micropython_gen_qstr, meson.current_source_dir(), '@OUTPUT@', '@INPUT@'],
......@@ -59,6 +60,7 @@ upy = static_library(
'micropython',
micropython_sources,
micropython_additional_sources,
micropython_extmod_sources,
mp_headers,
include_directories: micropython_includes,
)
......
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