Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
fleur
firmware
Commits
1095dde3
Verified
Commit
1095dde3
authored
Jul 11, 2019
by
Rahix
Browse files
chore(build/py): Create own array for extmod sources
Signed-off-by:
Rahix
<
rahix@rahix.de
>
parent
97dce13d
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/micropython/meson.build
View file @
1095dde3
...
...
@@ -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'
,
)
pycardium/meson.build
View file @
1095dde3
...
...
@@ -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
,
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment