Merge pull request #3815 from dhalbert/python3-mkenv-mk

Use $(PYTHON3) instead of $(PYTHON) in make actions
This commit is contained in:
Scott Shawcroft 2020-12-11 11:08:15 -08:00 committed by GitHub
commit d920750756
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@ RM = rm
RSYNC = rsync
SED = sed
# Linux has 'nproc', macOS has 'sysctl -n hw.logicalcpu', this is cross-platform
NPROC = $(PYTHON) -c 'import multiprocessing as mp; print(mp.cpu_count())'
NPROC = $(PYTHON3) -c 'import multiprocessing as mp; print(mp.cpu_count())'
AS = $(CROSS_COMPILE)as
CC = $(CROSS_COMPILE)gcc
@ -72,7 +72,7 @@ CXX += -m32
LD += -m32
endif
MAKE_FROZEN = $(PYTHON) $(TOP)/tools/make-frozen.py
MAKE_FROZEN = $(PYTHON3) $(TOP)/tools/make-frozen.py
MPY_CROSS = $(TOP)/mpy-cross/mpy-cross
MPY_TOOL = $(PYTHON3) $(TOP)/tools/mpy-tool.py
PREPROCESS_FROZEN_MODULES = PYTHONPATH=$(TOP)/tools/python-semver $(TOP)/tools/preprocess_frozen_modules.py