summaryrefslogtreecommitdiff
path: root/lang/python/python3-host.mk
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2020-08-31 23:23:41 +0800
committerJeffery To <jeffery.to@gmail.com>2020-08-31 23:23:41 +0800
commit99d0878d0a054eece2da518ecec979f8f5ddf533 (patch)
treeb173c7b8c37dc69802786ed72d0745c01b102d6a /lang/python/python3-host.mk
parent791e0bc7645237579fbfae51db02b640a320a5c2 (diff)
python,python3: Use locked for host pip
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/python3-host.mk')
-rw-r--r--lang/python/python3-host.mk17
1 files changed, 10 insertions, 7 deletions
diff --git a/lang/python/python3-host.mk b/lang/python/python3-host.mk
index 4de026ac6..9adb21a88 100644
--- a/lang/python/python3-host.mk
+++ b/lang/python/python3-host.mk
@@ -73,13 +73,16 @@ HOST_PYTHON3_PIP:=$(STAGING_DIR_HOSTPKG)/bin/pip$(PYTHON3_VERSION)
# $(1) => packages to install
define Build/Compile/HostPy3PipInstall
- $(call host_python3_settings) \
- $(HOST_PYTHON3_PIP) \
- --disable-pip-version-check \
- --cache-dir "$(DL_DIR)/pip-cache" \
- install \
- --no-binary :all: \
- $(1)
+ $(call locked, \
+ $(call host_python3_settings) \
+ $(HOST_PYTHON3_PIP) \
+ --disable-pip-version-check \
+ --cache-dir "$(DL_DIR)/pip-cache" \
+ install \
+ --no-binary :all: \
+ $(1), \
+ pip \
+ )
endef
# $(1) => build subdir