diff options
| author | David Lechner <david@pybricks.com> | 2022-06-17 11:11:30 -0500 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-06-21 00:14:34 +1000 |
| commit | c118b5d0e428094bd64a003d97b078c2d7c7500d (patch) | |
| tree | 078d272d6f1eb8c02333a976faac03c956b9d6d1 /docs/develop/porting.rst | |
| parent | 4802b6d3af42918aec842ce4117a667523b1ab25 (diff) | |
extmod/extmod.mk: Separate out extmod file list from py.mk to extmod.mk.
This separates extmod source files from `py.mk`. Previously, `py.mk`
assumed that every consumer of the py/ directory also wanted to include
extmod/. However, this is not the case. For example, building mpy-cross
uses py/ but doesn't need extmod/.
This commit moves all extmod-specific items from `py.mk` to `extmod.mk` and
explicitly includes `extmod.mk` in ports that use it.
Signed-off-by: David Lechner <david@pybricks.com>
Diffstat (limited to 'docs/develop/porting.rst')
| -rw-r--r-- | docs/develop/porting.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/develop/porting.rst b/docs/develop/porting.rst index bc25f47ed..3d0553205 100644 --- a/docs/develop/porting.rst +++ b/docs/develop/porting.rst @@ -95,6 +95,7 @@ We also need a Makefile at this point for the port: # Include py core make definitions. include $(TOP)/py/py.mk + include $(TOP)/extmod/extmod.mk # Set CFLAGS and libraries. CFLAGS = -I. -I$(BUILD) -I$(TOP) |
