package/python3: compile pyc verbosely when instructed
Only display the output of compileall.py when running verbosely, otherwise suppress all non-error output. Signed-off-by: Vincent Fazio <vfazio@gmail.com> Signed-off-by: Vincent Fazio <vfazio@xes-inc.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
20a3cf8cc0
commit
d9b6bb0735
@ -252,6 +252,7 @@ define PYTHON3_CREATE_PYC_FILES
|
||||
PYTHONPATH="$(PYTHON3_PATH)" \
|
||||
$(HOST_DIR)/bin/python$(PYTHON3_VERSION_MAJOR) \
|
||||
$(PYTHON3_DIR)/Lib/compileall.py \
|
||||
$(if $(VERBOSE),,-q) \
|
||||
$(if $(BR2_PACKAGE_PYTHON3_PYC_ONLY),-b) \
|
||||
-s $(TARGET_DIR) \
|
||||
$(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)
|
||||
|
Loading…
Reference in New Issue
Block a user