diff options
author | Jan Čapek <jan.capek@braiins.cz> | 2016-03-16 07:47:40 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-04-16 13:19:23 +0100 |
commit | 000eae121ccbbba2e2e4c7474c0b845ff0bd4ef7 (patch) | |
tree | cdce0e2526a2be5072aed8ab4508255c54a68712 /py | |
parent | 9a627e8881c1b5d8fad9f1a563b5af23716e1b55 (diff) | |
download | micropython-000eae121ccbbba2e2e4c7474c0b845ff0bd4ef7.tar.gz micropython-000eae121ccbbba2e2e4c7474c0b845ff0bd4ef7.zip |
py/py.mk: Add makefile variable for qstr autogeneration control.
- any architecture may explicitely build with qstring make
QSTR_AUTOGEN_DISABLE=1 autogeneration disabled and provide its
own list of qstrings by the standard
mechanisms (qstrdefsport.h).
Diffstat (limited to 'py')
-rw-r--r-- | py/py.mk | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -7,8 +7,11 @@ HEADER_BUILD = $(BUILD)/genhdr # file containing qstr defs for the core Python bit PY_QSTR_DEFS = $(PY_SRC)/qstrdefs.h -# All collected qstr defs +# If qstr autogeneration is not disabled we specify the output header +# for all collected qstrings. +ifneq ($(QSTR_AUTOGEN_DISABLE),1) QSTR_DEFS_COLLECTED = $(HEADER_BUILD)/qstrdefs.collected.h +endif # some code is performance bottleneck and compiled with other optimization options CSUPEROPT = -O3 |