Browse Source

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).
pull/1888/merge
Jan Čapek 9 years ago
committed by Damien George
parent
commit
000eae121c
  1. 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…
Cancel
Save