mirror of
https://github.com/licsber/micropython.git
synced 2024-09-20 09:00:23 +08:00
nrf/Makefile: Set default manifest file for all targets.
Set the default manifest to "modules/manifest.py". This includes files from the folder "modules/scripts". The manifest default value is overriden by all nrf51 boards that have SoftDevice present (SD=s110) to save flash. Also add "modules/manifest.py" which is set to freeze "modules/scripts/_mkfs.py".
This commit is contained in:
parent
7b6ad0ce2e
commit
aa857eb65e
@ -52,6 +52,8 @@ ifeq ($(DEBUG), 0)
|
|||||||
MICROPY_ROM_TEXT_COMPRESSION ?= 1
|
MICROPY_ROM_TEXT_COMPRESSION ?= 1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
FROZEN_MANIFEST ?= modules/manifest.py
|
||||||
|
|
||||||
# include py core make definitions
|
# include py core make definitions
|
||||||
include ../../py/py.mk
|
include ../../py/py.mk
|
||||||
|
|
||||||
|
1
ports/nrf/modules/manifest.py
Normal file
1
ports/nrf/modules/manifest.py
Normal file
@ -0,0 +1 @@
|
|||||||
|
freeze("$(PORT_DIR)/modules/scripts", "_mkfs.py")
|
Loading…
Reference in New Issue
Block a user