summaryrefslogtreecommitdiff
path: root/lang/python/python-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/python-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/python-host.mk')
-rw-r--r--lang/python/python-host.mk15
1 files changed, 9 insertions, 6 deletions
diff --git a/lang/python/python-host.mk b/lang/python/python-host.mk
index 1e3ff9594..674164688 100644
--- a/lang/python/python-host.mk
+++ b/lang/python/python-host.mk
@@ -74,12 +74,15 @@ HOST_PYTHON_PIP:=$(STAGING_DIR_HOSTPKG)/bin/pip$(PYTHON_VERSION)
# $(1) => packages to install
define Build/Compile/HostPyPipInstall
- $(call host_python_settings) \
- $(HOST_PYTHON_PIP) \
- --disable-pip-version-check \
- --cache-dir "$(DL_DIR)/pip-cache" \
- install \
- $(1)
+ $(call locked, \
+ $(call host_python_settings) \
+ $(HOST_PYTHON_PIP) \
+ --disable-pip-version-check \
+ --cache-dir "$(DL_DIR)/pip-cache" \
+ install \
+ $(1), \
+ pip \
+ )
endef
# $(1) => build subdir