mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-27 09:41:06 -09:00
support/scripts/pycompile: add --verbose option
Add a new option that prints the (runtime) path of compiled .py files when VERBOSE=1 is set. Signed-off-by: Robin Jarry <robin.jarry@6wind.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
committed by
Yann E. MORIN
parent
c566f5206a
commit
f88dcd3f99
@@ -262,6 +262,7 @@ define PYTHON_CREATE_PYC_FILES
|
||||
PYTHONPATH="$(PYTHON_PATH)" \
|
||||
$(HOST_DIR)/bin/python$(PYTHON_VERSION_MAJOR) \
|
||||
$(TOPDIR)/support/scripts/pycompile.py \
|
||||
$(if $(VERBOSE),--verbose) \
|
||||
--strip-root $(TARGET_DIR) \
|
||||
$(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user