From 99d0878d0a054eece2da518ecec979f8f5ddf533 Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Mon, 31 Aug 2020 23:23:41 +0800 Subject: python,python3: Use locked for host pip Signed-off-by: Jeffery To --- lang/python/python-host.mk | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'lang/python/python-host.mk') 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 -- cgit