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).
This commit is contained in:
parent
9a627e8881
commit
000eae121c
5
py/py.mk
5
py/py.mk
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user