mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
!interpreters/python: Align naming of configuration options
Aligns `CONFIG_INTERPRETER_*` options to `CONFIG_INTERPRETERS_*` options to be consistent with other interpreters. BREAKING CHANGE: All configurations using `CONFIG_INTERPRETER_PYTHON_*` options will no longer compile due to missing symbol errors. The fix is very quick: any configurations using this options should add a trailing S following INTERPRETER in the affected Kconfig variables. I believe `./tools/refresh.sh` should also be capable of doing this automatically. Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
This commit is contained in:
parent
a604c46b00
commit
3ce356378d
3 changed files with 13 additions and 13 deletions
|
|
@ -23,7 +23,7 @@
|
|||
include $(APPDIR)/Make.defs
|
||||
|
||||
CPYTHON_URL ?= "https://github.com/python/cpython/archive"
|
||||
CPYTHON_VERSION = $(patsubst "%",%,$(strip $(CONFIG_INTERPRETER_CPYTHON_VERSION)))
|
||||
CPYTHON_VERSION = $(patsubst "%",%,$(strip $(CONFIG_INTERPRETERS_CPYTHON_VERSION)))
|
||||
CPYTHON_VERSION_MINOR=$(basename $(CPYTHON_VERSION))
|
||||
CPYTHON_ZIP = v$(CPYTHON_VERSION).zip
|
||||
|
||||
|
|
@ -171,11 +171,11 @@ $(TARGETLIBPYTHON): $(TARGETBUILD)/Makefile
|
|||
$(Q) ( cp $(TARGETBUILD)/libpython$(CPYTHON_VERSION_MINOR).a $(TARGETLIBPYTHON) )
|
||||
$(Q) $(UNPACK) $(TARGETMODULESPACK) -d $(TARGETMODULES)/python$(CPYTHON_VERSION_MINOR)
|
||||
|
||||
MODULE = $(CONFIG_INTERPRETER_CPYTHON)
|
||||
MODULE = $(CONFIG_INTERPRETERS_CPYTHON)
|
||||
|
||||
PROGNAME += $(CONFIG_INTERPRETER_CPYTHON_PROGNAME)
|
||||
PRIORITY += $(CONFIG_INTERPRETER_CPYTHON_PRIORITY)
|
||||
STACKSIZE += $(CONFIG_INTERPRETER_CPYTHON_STACKSIZE)
|
||||
PROGNAME += $(CONFIG_INTERPRETERS_CPYTHON_PROGNAME)
|
||||
PRIORITY += $(CONFIG_INTERPRETERS_CPYTHON_PRIORITY)
|
||||
STACKSIZE += $(CONFIG_INTERPRETERS_CPYTHON_STACKSIZE)
|
||||
|
||||
MAINSRC += python_wrapper.c
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue