Signed-off-by: Jeffery To <jeffery.to@gmail.com>
# $(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
# $(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