diff options
author | Damien George <damien.p.george@gmail.com> | 2019-09-10 00:49:02 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-10-15 21:34:23 +1100 |
commit | e81f538e2509938b25eb48ed2670142eed1f2573 (patch) | |
tree | c665808d534a3be2741b93f682afcf3db6fedc80 /py/py.mk | |
parent | 8e8cfa6f53b95fb9a7f7a430fb7bda77be56a6bd (diff) |
tools: Add mechanism to provide a manifest of frozen files.
This introduces a new build variable FROZEN_MANIFEST which can be set to a
manifest listing (written in Python) that describes the set of files to be
frozen in to the firmware.
Diffstat (limited to 'py/py.mk')
-rw-r--r-- | py/py.mk | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -202,6 +202,11 @@ PY_EXTMOD_O = $(addprefix $(BUILD)/, $(PY_EXTMOD_O_BASENAME)) # this is a convenience variable for ports that want core, extmod and frozen code PY_O = $(PY_CORE_O) $(PY_EXTMOD_O) +# object file for frozen code specified via a manifest +ifneq ($(FROZEN_MANIFEST),) +PY_O += $(BUILD)/$(BUILD)/frozen_content.o +endif + # object file for frozen files ifneq ($(FROZEN_DIR),) PY_O += $(BUILD)/$(BUILD)/frozen.o |